diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-27 14:17:04 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-28 13:42:44 +0200 |
commit | f2ddce23d47fbd8f14bf73626a37d6ac291eaa3c (patch) | |
tree | 10636786671fb8626f751f454463d5e560005a56 /src | |
parent | 7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a (diff) | |
download | calcurse-f2ddce23d47fbd8f14bf73626a37d6ac291eaa3c.tar.gz calcurse-f2ddce23d47fbd8f14bf73626a37d6ac291eaa3c.zip |
src/args.c: Mark various constant strings const
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/args.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,7 +51,7 @@ static void usage () { - char *arg_usage = + const char *arg_usage = _("Usage: calcurse [-h|-v] [-N] [-an] [-t[num]] [-i<file>] [-x[format]]\n" " [-d <date>|<num>] [-s[date]] [-r[range]]\n" " [-c<file> | -D<dir>] [-S<regex>] [--status]\n"); @@ -61,7 +61,7 @@ usage () static void usage_try () { - char *arg_usage_try = _("Try 'calcurse -h' for more information.\n"); + const char *arg_usage_try = _("Try 'calcurse -h' for more information.\n"); fputs (arg_usage_try, stdout); } @@ -71,7 +71,7 @@ usage_try () static void version_arg () { - char *vtext = + const char *vtext = _("\nCopyright (c) 2004-2011 calcurse Development Team.\n" "This is free software; see the source for copying conditions.\n"); @@ -85,7 +85,7 @@ version_arg () static void help_arg () { - char *htext = + const char *htext = _("\nMiscellaneous:\n" " -h, --help\n" " print this help and exit.\n" |