]> 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 0c1bc67a3c768962ab4b09084f34ed4668c740c7..6e23a1ff2a4cc846b11c6615186de054456ab10e 100644 (file)
@@ -4,12 +4,13 @@
 // Date: 08/11/1999
 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
 // CVSID: $Id$
+// wxWindows licence
 // --------------------------------------------------------------------------
 #ifdef __GNUG__
 #pragma implementation "sndpcm.cpp"
 #endif
 
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
     #include "wx/defs.h"
@@ -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) ||