# HG changeset patch # User John W. Eaton # Date 1286638380 14400 # Node ID 8b9aeb20c03c55aeb873a90b79af33b1d7342cf0 # Parent 5677f3f7b5fac3042528bea7d13fd97922d14ff7 __fltk_ginput__.m: use || instead of | in IF condition diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-10-09 John W. Eaton + + * plot/__fltk_ginput__.m: Use || instead of | in IF condition. + 2010-10-08 Ben Abbott * image/image.m, plot/__go_draw_axes__.m: Do not store flipped image diff --git a/scripts/plot/__fltk_ginput__.m b/scripts/plot/__fltk_ginput__.m --- 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