aboutsummaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-12 20:44:50 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-12 20:44:50 +0000
commit53db22a380ec76a684fd5000d216350aaa795278 (patch)
tree8902b4442302bfd8f5d2be0385357705e629be62 /src/keys.c
parentbd286546f42bbeb568e2a003882e78bf4f1ae831 (diff)
downloadcalcurse-53db22a380ec76a684fd5000d216350aaa795278.tar.gz
calcurse-53db22a380ec76a684fd5000d216350aaa795278.zip
code cleanup
Diffstat (limited to 'src/keys.c')
-rwxr-xr-xsrc/keys.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/keys.c b/src/keys.c
index 9b5a661..57fac95 100755
--- a/src/keys.c
+++ b/src/keys.c
@@ -1,4 +1,4 @@
-/* $calcurse: keys.c,v 1.8 2008/12/08 19:17:07 culot Exp $ */
+/* $calcurse: keys.c,v 1.9 2008/12/12 20:44:50 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -133,8 +133,7 @@ keys_dump_defaults (char *file)
int i;
fd = fopen (file, "w");
- EXIT_IF (fd == NULL, _("FATAL ERROR in keys_dump_defaults: "
- "could not create default keys file."));
+ EXIT_IF (fd == NULL, _("FATAL ERROR: could not create default keys file."));
dump_intro (fd);
for (i = 0; i < NBKEYS; i++)
@@ -146,7 +145,7 @@ char *
keys_get_label (keys_e key)
{
EXIT_IF (key < 0 || key > NBKEYS,
- _("FATAL ERROR in keys_get_label: key value out of bounds"));
+ _("FATAL ERROR: key value out of bounds"));
return keydef[key].label;
}
@@ -553,8 +552,7 @@ keys_save_bindings (FILE *fd)
{
int i;
- EXIT_IF (fd == NULL, _("FATAL ERROR in keys_save_bindings: "
- "null file pointer."));
+ EXIT_IF (fd == NULL, _("FATAL ERROR: null file pointer."));
dump_intro (fd);
for (i = 0; i < NBKEYS; i++)
fprintf (fd, "%s %s\n", keydef[i].label, keys_action_allkeys (i));