summaryrefslogtreecommitdiff
path: root/src/keys.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-11-30 20:48:10 +0000
committerFrederic Culot <calcurse@culot.org>2008-11-30 20:48:10 +0000
commit86d1a3b2dbbf5aa8a8b0f9e70bc1766df3c1ccc8 (patch)
tree78f11aa295bbbc889fe85311227d2becbed70c7f /src/keys.c
parenta4694b6bea77ec1065f4056585e234cbe9f09f75 (diff)
downloadcalcurse-86d1a3b2dbbf5aa8a8b0f9e70bc1766df3c1ccc8.zip
online help pages updated
Diffstat (limited to 'src/keys.c')
-rwxr-xr-xsrc/keys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keys.c b/src/keys.c
index 1c475b3..89f1787 100755
--- a/src/keys.c
+++ b/src/keys.c
@@ -1,4 +1,4 @@
-/* $calcurse: keys.c,v 1.5 2008/11/25 20:48:58 culot Exp $ */
+/* $calcurse: keys.c,v 1.6 2008/11/30 20:48:10 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -283,7 +283,7 @@ keys_int2str (int key)
case ESCAPE:
return "ESC";
default:
- return keyname (key);
+ return (char *)keyname (key);
}
}
@@ -523,5 +523,4 @@ keys_save_bindings (FILE *fd)
dump_intro (fd);
for (i = 0; i < NBKEYS; i++)
fprintf (fd, "%s %s\n", keydef[i].label, keys_action_allkeys (i));
- fclose (fd);
}