Mercurial > hg
changeset 1390:753a348c65c1
LocaleCharSet is const
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 05 Dec 2007 19:31:07 +0100 |
parents | cefda9174d62 |
children | e20ab87c4c4c |
files | mcabber/src/screen.c mcabber/src/utils.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/screen.c Tue Dec 04 22:47:06 2007 +0100 +++ b/mcabber/src/screen.c Wed Dec 05 19:31:07 2007 +0100 @@ -56,7 +56,7 @@ #define DEFAULT_ROSTER_WIDTH 24 #define CHAT_WIN_HEIGHT (maxY-1-Log_Win_Height) -char *LocaleCharSet = "C"; +const char *LocaleCharSet = "C"; static unsigned short int Log_Win_Height; static unsigned short int Roster_Width;
--- a/mcabber/src/utils.h Tue Dec 04 22:47:06 2007 +0100 +++ b/mcabber/src/utils.h Wed Dec 05 19:31:07 2007 +0100 @@ -3,7 +3,7 @@ #include <config.h> -extern char *LocaleCharSet; +extern const char *LocaleCharSet; #define to_utf8(s) ((s) ? g_locale_to_utf8((s), -1, NULL,NULL,NULL) : NULL) #define from_utf8(s) ((s) ? g_convert_with_fallback((s), -1, LocaleCharSet, \