aboutsummaryrefslogtreecommitdiff
path: root/samples/inputbox6-8bit
diff options
context:
space:
mode:
Diffstat (limited to 'samples/inputbox6-8bit')
-rwxr-xr-xsamples/inputbox6-8bit10
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/inputbox6-8bit b/samples/inputbox6-8bit
index b7692e8826aa..15e084ae3f9c 100755
--- a/samples/inputbox6-8bit
+++ b/samples/inputbox6-8bit
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: inputbox6-8bit,v 1.6 2010/01/13 10:20:03 tom Exp $
+# $Id: inputbox6-8bit,v 1.8 2020/11/26 00:03:58 tom Exp $
. ./setup-vars
@@ -8,10 +8,10 @@
. ./testdata-8bit
$DIALOG \
---title `printf "$SAMPLE"` "$@" \
---inputbox `printf "$SAMPLE"` \
-10 40 `printf "$SAMPLE"` 2>$tempfile
+--title "`printf '%s' "$SAMPLE"`" "$@" \
+--inputbox "`printf '%s' "$SAMPLE"`" \
+10 40 "`printf '%s' "$SAMPLE"`" 2>$tempfile
-retval=$?
+returncode=$?
. ./report-tempfile