changeset 1448:508dde3dc398

Windows needs a little more extra vertical space for text buttons.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 10 Dec 2011 23:27:21 +0000
parents 5417b312801e
children 632346743f46
files win/dw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Sat Dec 10 23:11:16 2011 +0000
+++ b/win/dw.c	Sat Dec 10 23:27:21 2011 +0000
@@ -4222,7 +4222,7 @@
    /* If we got an image... set the sizes appropriately */
    if(hbm)
    {
-      BITMAP bmi;
+      BITMAP bmi = { 0 };
       
       GetObject(hbm, sizeof(BITMAP), &bmi);
       thiswidth = bmi.bmWidth;
@@ -4291,7 +4291,7 @@
       else
       {
          extrawidth = 8;
-         extraheight = 4;
+         extraheight = 8;
       }
    }
    else if(strnicmp(tmpbuf, StatusbarClassName, strlen(StatusbarClassName)+1) == 0)