diff options
Diffstat (limited to 'samples/msgbox6')
| -rwxr-xr-x | samples/msgbox6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/msgbox6 b/samples/msgbox6 index 1d30f021897d..e2f22cb7d731 100755 --- a/samples/msgbox6 +++ b/samples/msgbox6 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: msgbox6,v 1.5 2010/01/13 10:26:52 tom Exp $ +# $Id: msgbox6,v 1.6 2019/12/11 00:03:24 tom Exp $ # this differs from msgbox3 by making a window small enough to force scrolling. . ./setup-vars @@ -12,6 +12,6 @@ $DIALOG --title "MESSAGE BOX (width $width)" --clear "$@" \ a b c d e f g h j i j k l m n o p q r s t u v w x y z A B C D E F G H J I J K L M N O P Q R S T U V W X Y Z " 10 $width -test $? = $DIALOG_ESC && break +test $? = "$DIALOG_ESC" && break width=`expr $width + 1` done |
