diff scripts/plot/__fltk_ginput__.m @ 11092:8b9aeb20c03c

__fltk_ginput__.m: use || instead of | in IF condition
author John W. Eaton <jwe@octave.org>
date Sat, 09 Oct 2010 11:33:00 -0400
parents 9cdd6c8c05a4
children b8585f8e11d5
line wrap: on
line diff
--- a/scripts/plot/__fltk_ginput__.m
+++ b/scripts/plot/__fltk_ginput__.m
@@ -49,7 +49,7 @@
       sleep (0.01);
 
       [x, y, n0] = ginput_aggregator (-1, 0, 0);
-      if (n0 == n | n0 < 0)
+      if (n0 == n || n0 < 0)
         break;
       endif
     endwhile