all repos — openbox @ a6815038d61b64d5f13d28b6e5f67fe1630213e9

openbox fork - make it a bit more like ryudo

use g_warning not printf
Dana Jansens danakj@orodu.net
commit

a6815038d61b64d5f13d28b6e5f67fe1630213e9

parent

ded198f74f0215277f9e8b298807a35204865c8f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M openbox/cparse.lopenbox/cparse.l

@@ -44,8 +44,8 @@ if (!haserror && entry.name != NULL && (signed)entry.type < 0) {

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