X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/84e1c2a9f24ac5a84a9c8d89e232393522ac9d92..f6f450e2b1db4ae729c6df593dbbbff842bd6f3b:/wincfg.c diff --git a/wincfg.c b/wincfg.c index 896c1bc5..20eccfed 100644 --- a/wincfg.c +++ b/wincfg.c @@ -37,6 +37,7 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help, { struct controlset *s; union control *c; + char *str; if (!midsession) { /* @@ -186,8 +187,9 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help, * additional options when working with line-drawing * characters. */ - s = ctrl_getset(b, "Window/Translation", "linedraw", - "Adjust how PuTTY displays line drawing characters"); + str = dupprintf("Adjust how %s displays line drawing characters", appname); + s = ctrl_getset(b, "Window/Translation", "linedraw", str); + sfree(str); { int i; for (i = 0; i < s->ncontrols; i++) {