X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fcparse.l;h=70524007b91f1628ec461e3bcb07f3d08b5e9be4;hb=beb489feeb8a66c59be2f3c83f4397d2b4e6dc01;hp=966fc6e4e08536ca36e58448f8c28a112908b313;hpb=37a9456f87b6c4efd00b273f0ca2cbd8416fc5d0;p=chaz%2Fopenbox diff --git a/openbox/cparse.l b/openbox/cparse.l index 966fc6e4..70524007 100644 --- a/openbox/cparse.l +++ b/openbox/cparse.l @@ -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