projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement `default-colours' on Windows based loosely on Michael Wardle's patch.
[u/mdw/putty]
/
wincfg.c
diff --git
a/wincfg.c
b/wincfg.c
index
c094eb7
..
992d5db
100644
(file)
--- a/
wincfg.c
+++ b/
wincfg.c
@@
-271,6
+271,10
@@
void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
ctrl_checkbox(s, "Attempt to use logical palettes", 'l',
HELPCTX(colours_logpal),
dlg_stdcheckbox_handler, I(offsetof(Config,try_palette)));
ctrl_checkbox(s, "Attempt to use logical palettes", 'l',
HELPCTX(colours_logpal),
dlg_stdcheckbox_handler, I(offsetof(Config,try_palette)));
+ ctrl_checkbox(s, "Use system colours", 's',
+ HELPCTX(colours_system),
+ dlg_stdcheckbox_handler, I(offsetof(Config,system_colour)));
+
/*
* Resize-by-changing-font is a Windows insanity.
/*
* Resize-by-changing-font is a Windows insanity.