changeset 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 5677f3f7b5fa
children d748acc75658
files scripts/ChangeLog scripts/plot/__fltk_ginput__.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-09  John W. Eaton  <jwe@octave.org>
+
+	* plot/__fltk_ginput__.m: Use || instead of | in IF condition.
+
 2010-10-08  Ben Abbott <bpabbott@mac.com>
 
 	* image/image.m, plot/__go_draw_axes__.m: Do not store flipped image
--- 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