diff scripts/gui/waitbar.m @ 19628:fe689210525c gui-release

maint: Periodic merge of stable to gui-release.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:05:42 -0500
parents e7b347dcfc63 446c46af4b42
children 4197fc428c7d
line wrap: on
line diff
--- a/scripts/gui/waitbar.m	Mon Jan 19 07:04:12 2015 +0100
+++ b/scripts/gui/waitbar.m	Tue Jan 20 10:05:42 2015 -0500
@@ -29,7 +29,7 @@
 ## [0, 1].  The optional message @var{msg} is centered and displayed above the
 ## waitbar.  The appearance of the waitbar figure window can be configured by
 ## passing property/value pairs to the function.
-## 
+##
 ## When called with a single input the current waitbar, if it exists, is
 ## updated to the new value @var{frac}.  If there are multiple outstanding
 ## waitbars they can be updated individually by passing the handle @var{hwbar}
@@ -95,7 +95,7 @@
       curr_msg = get (th, "string");
       ## graphics handles always store data as column vectors
       if (iscellstr (msg))
-        msg = msg(:);  
+        msg = msg(:);
       endif
       cmp = strcmp (msg, curr_msg);
       if (! all (cmp(:)))