diff options
-rwxr-xr-x | kdialog/progresscanceldemo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdialog/progresscanceldemo b/kdialog/progresscanceldemo index 358ee54bd..42ea3d33e 100755 --- a/kdialog/progresscanceldemo +++ b/kdialog/progresscanceldemo @@ -2,7 +2,7 @@ dcopRef=`./kdialog --progressbar "Press Cancel at Any time" 10` dcop $dcopRef showCancelButton true -until test "true" == `dcop $dcopRef wasCancelled`; do +until test "true" = `dcop $dcopRef wasCancelled`; do sleep 1 inc=$((`dcop $dcopRef progress` + 1)) dcop $dcopRef setProgress $inc; |