projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded198f
)
use g_warning not printf
author
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 12:12:33 +0000
(12:12 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 26 Mar 2003 12:12:33 +0000
(12:12 +0000)
openbox/cparse.l
patch
|
blob
|
history
diff --git
a/openbox/cparse.l
b/openbox/cparse.l
index 966fc6e4e08536ca36e58448f8c28a112908b313..70524007b91f1628ec461e3bcb07f3d08b5e9be4 100644
(file)
--- 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