X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=config.c;fp=config.c;h=239247dbac9f1f1dd896899a46876b52d5f6f58a;hb=cf08c5a64a47ae96861e78bd0f0d2734d35322b9;hp=54880318f7e7842c45255c4d8df72612e5c96a5c;hpb=09c9f31289952aba8fe2e2e956d98db0632395a6;p=PuTTY.git diff --git a/config.c b/config.c index 54880318..239247db 100644 --- a/config.c +++ b/config.c @@ -162,7 +162,7 @@ static void codepage_handler(union control *ctrl, void *dlg, Config *cfg = (Config *)data; if (event == EVENT_REFRESH) { int i; - char *cp; + const char *cp; dlg_update_start(ctrl, dlg); strcpy(cfg->line_codepage, cp_name(decode_codepage(cfg->line_codepage)));