summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-11-12 01:03:20 +0000
committerGlynn Foster <gman@src.gnome.org>2003-11-12 01:03:20 +0000
commit191ebced874dfb6321832f6e8621f0939ff030a5 (patch)
tree38f59be5e81fa08c0696d87a45cc8431653a460b /src
parentAdd missing file. (diff)
downloadzenity-191ebced874dfb6321832f6e8621f0939ff030a5.tar.gz
zenity-191ebced874dfb6321832f6e8621f0939ff030a5.tar.bz2
zenity-191ebced874dfb6321832f6e8621f0939ff030a5.zip
Make sure the gdialog wrapper handles spaces. Patch from Peter Åstrand
2003-11-12 Glynn Foster <glynn.foster@sun.com> * src/gdialog.in: Make sure the gdialog wrapper handles spaces. Patch from Peter Åstrand <astrand@lysator.liu.se>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gdialog.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdialog.in b/src/gdialog.in
index ff47010d..b2045326 100755
--- a/src/gdialog.in
+++ b/src/gdialog.in
@@ -227,7 +227,7 @@ ARG: while ($argn < $args) {
# an untitled column for the check or radio buttons
# and the 'text' arg as a second column header
- $command .= "--list $list --column='' --column $element ";
+ $command .= "--list $list --column='' --column \"$element\" ";
# should output be line by line?
if ($separator) {
@@ -248,7 +248,7 @@ ARG: while ($argn < $args) {
while ($argn < $args) {
get_arg;
- $command .= "NULL $element ";
+ $command .= "NULL \"$element\" ";
$argn += 3;
}
last ARG;
bgstack15