]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - config.c
Fixed the printing and charset combo boxes in Unix PuTTY. (The
[PuTTY.git] / config.c
index 54880318f7e7842c45255c4d8df72612e5c96a5c..239247dbac9f1f1dd896899a46876b52d5f6f58a 100644 (file)
--- 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)));