]> Dogcows Code - chaz/openbox/commitdiff
use g_warning not printf
authorDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 12:12:33 +0000 (12:12 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 12:12:33 +0000 (12:12 +0000)
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.02559 seconds and 4 git commands to generate.