Mark localized string literals constant
Translated strings returned by gettext() are statically allocated and shouldn't be modified. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -103,7 +103,7 @@ static struct keydef_s keydef[NBKEYS] = {
|
||||
static void
|
||||
dump_intro (FILE *fd)
|
||||
{
|
||||
char *intro =
|
||||
const char *intro =
|
||||
_("#\n"
|
||||
"# Calcurse keys configuration file\n#\n"
|
||||
"# This file sets the keybindings used by Calcurse.\n"
|
||||
|
||||
Reference in New Issue
Block a user