changeset 34595:97bf974e7623

Simplify character array definition.
author ib
date Fri, 10 Feb 2012 15:24:27 +0000
parents c20ac9b80ea5
children 04feb00f91be
files gui/cfg.c gui/win32/wincfg.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Fri Feb 10 15:06:59 2012 +0000
+++ b/gui/cfg.c	Fri Feb 10 15:24:27 2012 +0000
@@ -370,7 +370,7 @@
             }
 
             if (val) {
-                char delim[] = { "\"" };
+                char delim[] = "\"";
 
                 if (!strchr(val, ' '))
                     *delim = 0;
--- a/gui/win32/wincfg.c	Fri Feb 10 15:06:59 2012 +0000
+++ b/gui/win32/wincfg.c	Fri Feb 10 15:24:27 2012 +0000
@@ -128,7 +128,7 @@
             }
             if(v)
             {
-                char delim[] = {"\""};
+                char delim[] = "\"";
 
                 if (!strchr(val, ' ')) *delim = 0;