From c4db0cac6a178a0b7b518f8c6fe282ab49ccda4f Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 19 Sep 2004 17:33:18 +0000 Subject: [PATCH] * boxes.c: Added const qualifiers. --- src/boxes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/boxes.c b/src/boxes.c index 6235f55f5..2fdade2b8 100644 --- a/src/boxes.c +++ b/src/boxes.c @@ -550,7 +550,8 @@ static WCheck *inpcheck; static int sel_charset_button (int action) { - char *cpname, buf[64]; + const char *cpname; + char buf[64]; new_display_codepage = select_charset (new_display_codepage, 1); cpname = (new_display_codepage < 0) ? _("Other 8 bit") @@ -565,7 +566,7 @@ sel_charset_button (int action) static Dlg_head * init_disp_bits_box (void) { - char *cpname; + const char *cpname; Dlg_head *dbits_dlg; do_refresh ();