diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-26 12:12:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-26 12:12:33 +0000 |
| commit | a6815038d61b64d5f13d28b6e5f67fe1630213e9 (patch) | |
| tree | 2114c632ed59173f0f67ab72381564f70435b4ca /openbox/cparse.l | |
| parent | ded198f74f0215277f9e8b298807a35204865c8f (diff) | |
use g_warning not printf
Diffstat (limited to 'openbox/cparse.l')
| -rw-r--r-- | openbox/cparse.l | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
