changeset 20008:7aaf756b1532

use "!", not "not" * octave-gui.cc, audiodevinfo.cc: Avoid using "not" operator.
author John W. Eaton <jwe@octave.org>
date Thu, 19 Mar 2015 14:32:40 -0400
parents 117ccb5080c1
children 72ccbd36e23c f0e61a67ad9f
files libgui/src/octave-gui.cc libinterp/dldfcn/audiodevinfo.cc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/octave-gui.cc	Thu Mar 19 11:48:45 2015 -0700
+++ b/libgui/src/octave-gui.cc	Thu Mar 19 14:32:40 2015 -0400
@@ -118,7 +118,7 @@
   QTranslator gui_tr, qt_tr, qsci_tr;
 
   // Set the codec for all strings (before wizard)
-#if not defined (Q_OS_WIN32)
+#if ! defined (Q_OS_WIN32)
   QTextCodec::setCodecForCStrings (QTextCodec::codecForName ("UTF-8"));
 #endif
 
--- a/libinterp/dldfcn/audiodevinfo.cc	Thu Mar 19 11:48:45 2015 -0700
+++ b/libinterp/dldfcn/audiodevinfo.cc	Thu Mar 19 14:32:40 2015 -0400
@@ -282,7 +282,7 @@
               return retval;
             }
         }
-      if (not found)
+      if (! found)
         error ("audiodevinfo: no device meeting the specified criteria found");
     }
   else if (nargin == 3)
@@ -1250,7 +1250,7 @@
   PaError err;
   set_sample_number (0);
   reset_end_sample ();
-  if (not Pa_IsStreamStopped (get_stream ()))
+  if (! Pa_IsStreamStopped (get_stream ()))
     {
       err = Pa_AbortStream (get_stream ());
       if (err != paNoError)
@@ -1877,7 +1877,7 @@
     return;
 
   PaError err;
-  if (not Pa_IsStreamStopped (get_stream ()))
+  if (! Pa_IsStreamStopped (get_stream ()))
     {
       err = Pa_AbortStream (get_stream ());
       if (err != paNoError)