]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - winctrls.c
Bump version numbers. (Forgot to do this _before_ dropping the 0.57
[PuTTY.git] / winctrls.c
index 4a35cb6b3150f39ea2b89309dc346368c7bbfefa..0fb4b9fcc012410ad89fe729fbaa25e26b5e79b0 100644 (file)
@@ -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);
 }