projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb920d3
)
gui: Have km_keyname() return const.
author
Andre Noll
<maan@tuebingen.mpg.de>
Tue, 28 Apr 2020 19:56:38 +0000
(21:56 +0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Thu, 17 Sep 2020 15:43:02 +0000
(17:43 +0200)
We neither want the caller to write there nor to free the memory.
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index
a4f1717
..
0eb5444
100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-192,7
+192,7
@@
static bool curses_active(void)
}
/* taken from mutt */
-static char *km_keyname(int c)
+static c
onst c
har *km_keyname(int c)
{
static char buf[10];