~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops, fix that fix. TranslateKey can return <0 and it needs to be
[sgt/putty]
/
windlg.c
diff --git
a/windlg.c
b/windlg.c
index
46b02b5
..
d9206a8
100644
(file)
--- a/
windlg.c
+++ b/
windlg.c
@@
-1090,6
+1090,11
@@
static void create_controls(HWND hwnd, int dlgtype, int panel)
ctlposinit(&cp, hwnd, 80, 3, 13);
bartitle(&cp, "Options controlling character set translation",
IDC_TITLE_TRANSLATION);
ctlposinit(&cp, hwnd, 80, 3, 13);
bartitle(&cp, "Options controlling character set translation",
IDC_TITLE_TRANSLATION);
+ beginbox(&cp, "Character set translation on received data",
+ IDC_BOX_TRANSLATION2);
+ combobox(&cp, "Received data assumed to be in which character set:",
+ IDC_CODEPAGESTATIC, IDC_CODEPAGE);
+ endbox(&cp);
beginbox(&cp, "Adjust how PuTTY displays line drawing characters",
IDC_BOX_TRANSLATION1);
radiobig(&cp,
beginbox(&cp, "Adjust how PuTTY displays line drawing characters",
IDC_BOX_TRANSLATION1);
radiobig(&cp,
@@
-1100,11
+1105,6
@@
static void create_controls(HWND hwnd, int dlgtype, int panel)
"&Poor man's line drawing (" "+" ", " "-" " and " "|" ")",
IDC_VTPOORMAN, "&Unicode mode", IDC_VTUNICODE, NULL);
endbox(&cp);
"&Poor man's line drawing (" "+" ", " "-" " and " "|" ")",
IDC_VTPOORMAN, "&Unicode mode", IDC_VTUNICODE, NULL);
endbox(&cp);
- beginbox(&cp, "Character set translation on received data",
- IDC_BOX_TRANSLATION2);
- combobox(&cp, "Received data assumed to be in which character set:",
- IDC_CODEPAGESTATIC, IDC_CODEPAGE);
- endbox(&cp);
}
if (panel == selectionpanelstart) {
}
if (panel == selectionpanelstart) {