]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndpcm.cpp
fix evaluation order bug (patch 1158099)
[wxWidgets.git] / contrib / src / mmedia / sndpcm.cpp
index a6a5a700801434eb079bc0230e8cf26d331ebfb1..6e23a1ff2a4cc846b11c6615186de054456ab10e 100644 (file)
@@ -4,6 +4,7 @@
 // Date: 08/11/1999
 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
 // CVSID: $Id$
+// wxWindows licence
 // --------------------------------------------------------------------------
 #ifdef __GNUG__
 #pragma implementation "sndpcm.cpp"
@@ -88,7 +89,7 @@ bool wxSoundFormatPcm::operator!=(const wxSoundFormatBase& format) const
   wxSoundFormatPcm *format2 = (wxSoundFormatPcm *)&format;
 
   if (format.GetType() != wxSOUND_PCM)
-    return TRUE;
+    return true;
 
   return ( (m_srate != format2->m_srate) ||
            (m_bps != format2->m_bps) ||