diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-23 19:17:56 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-23 19:22:10 +0200 |
| commit | 9866f48c8716996cd67ccb008471f73f8fc1baa6 (patch) | |
| tree | 5e4a11273ab1c82b06090d97c94a6a18e8fcfe3f /src/screen/settingKeys.c | |
| parent | 112e8071a8d96f9251ef265e31bd11a4662a893d (diff) | |
support statusbar (need write label)| fix kiks with keycontrol.conf| fix memory leak in font.c
Diffstat (limited to 'src/screen/settingKeys.c')
| -rw-r--r-- | src/screen/settingKeys.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screen/settingKeys.c b/src/screen/settingKeys.c index 9293e9d..f4338ab 100644 --- a/src/screen/settingKeys.c +++ b/src/screen/settingKeys.c @@ -143,8 +143,10 @@ void key_table_init() keycontrolFile = text_file_new(path); - fprintf(stderr, _("I was unable to create file: %s\n"), path); - return; + if (keycontrolFile == NULL) { + fprintf(stderr, _("I was unable to create file: %s\n"), path); + return; + } } setKeytableFromConfigFile(keycontrolFile); |