# HG changeset patch # User John W. Eaton # Date 1426789960 14400 # Node ID 7aaf756b1532b7d0abe6af54dcee5d77db90e448 # Parent 117ccb5080c13712012d7400da8452e884023e7e use "!", not "not" * octave-gui.cc, audiodevinfo.cc: Avoid using "not" operator. diff -r 117ccb5080c1 -r 7aaf756b1532 libgui/src/octave-gui.cc --- 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 diff -r 117ccb5080c1 -r 7aaf756b1532 libinterp/dldfcn/audiodevinfo.cc --- 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)