]> Dogcows Code - chaz/openbox/blobdiff - openbox/cparse.l
make these things one 'command' without braces
[chaz/openbox] / openbox / cparse.l
index 966fc6e4e08536ca36e58448f8c28a112908b313..70524007b91f1628ec461e3bcb07f3d08b5e9be4 100644 (file)
@@ -44,8 +44,8 @@ static void stringvalue()
             entry.type = Config_String;
             entry.value.string = g_strdup(cparsetext+1); /* drop the left quote */
             if (entry.value.string[cparseleng-2] != '"')
-                printf("warning: improperly terminated string on line %d\n",
-                       lineno);
+                g_warning("improperly terminated string on line %d",
+                          lineno);
             else
                 entry.value.string[cparseleng-2] = '\0';
         } else
This page took 0.025549 seconds and 4 git commands to generate.