X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7440fd4419acfc9c784f142fb9dee3e64c9a18c2..ae0500e538e2fb821ef1ad8529aed7999acf7a19:/winctrls.c diff --git a/winctrls.c b/winctrls.c index 4a35cb6b..0fb4b9fc 100644 --- a/winctrls.c +++ b/winctrls.c @@ -2282,8 +2282,9 @@ void dlg_fontsel_set(union control *ctrl, void *dlg, FontSpec fs) if (fs.height == 0) buf = dupprintf("Font: %s, %sdefault height", fs.name, boldstr); else - buf = dupprintf("Font: %s, %s%d-point", fs.name, boldstr, - (fs.height < 0 ? -fs.height : fs.height)); + buf = dupprintf("Font: %s, %s%d-%s", fs.name, boldstr, + (fs.height < 0 ? -fs.height : fs.height), + (fs.height < 0 ? "pixel" : "point")); SetDlgItemText(dp->hwnd, c->base_id+1, buf); sfree(buf); }