Changeset 102 for trunk/mainwin.cpp


Ignore:
Timestamp:
Jul 30, 2021, 7:48:15 PM (4 years ago)
Author:
Gregg Young
Message:

fix main page font selection for Gotcha! Quiet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mainwin.cpp

    r96 r102  
    181181                             rcl.yTop - rcl.yBottom,
    182182                             SWP_SHOW | SWP_MOVE | SWP_SIZE | SWP_ZORDER);
     183#endif
    183184            HMQ hmq;
    184             BOOL bUniCodeFont;
     185            BOOL bUniCodeFont = FALSE;
    185186            CHAR ucFont[FACESIZE];
    186187   
     
    204205                WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont);
    205206            }
    206             else
    207                 WinRemovePresParam(hwnd, PP_FONTNAMESIZE);
    208 #endif
     207            else {
     208                strcpy(ucFont, "9.WarpSans");
     209                WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont);
     210            }
    209211        }
    210212#ifdef _QUIET_
Note: See TracChangeset for help on using the changeset viewer.