Changeset 290 for trunk/src/helpers/winh.c
- Timestamp:
- Sep 5, 2005, 8:20:43 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/winh.c
r276 r290 3080 3080 * 3081 3081 *@@added V1.0.1 (2002-11-30) [umoeller] 3082 *@@changed V1.0.4 (2005-09-02) [bvl]: Return 'Combined' fonts on DBCS systems to show DBCS characters properly @@fixes 655 3082 3083 */ 3083 3084 … … 3085 3086 { 3086 3087 if (doshIsWarp4()) 3087 return "9.WarpSans"; 3088 3089 return "8.Helv"; 3088 if(nlsDBCS()) 3089 return "9.WarpSans Combined"; 3090 else 3091 return "9.WarpSans"; 3092 else 3093 if(nlsDBCS()) 3094 return "8.Helv Combined"; 3095 else 3096 return "8.Helv"; 3090 3097 } 3091 3098 … … 3153 3160 * 3154 3161 *@@added V0.9.0 [umoeller] 3162 *@@changed V1.0.4 (2005-09-02) [bvl]: Return 'Combined' fonts on DBCS systems to show DBCS characters properly @@fixes 655 3155 3163 */ 3156 3164 … … 3163 3171 HENUM henum; 3164 3172 HWND hwndItem; 3165 CHAR szFont[256];3166 3173 ULONG cbFont; 3167 3174 3168 if (pcszFont == NULL) 3169 { 3170 if (doshIsWarp4()) 3171 strhncpy0(szFont, "9.WarpSans", sizeof(szFont)); 3172 else 3173 strhncpy0(szFont, "8.Helv", sizeof(szFont)); 3174 } 3175 else 3176 strhncpy0(szFont, pcszFont, sizeof(szFont)); 3177 3178 cbFont = strlen(szFont) + 1; 3179 3175 if (!pcszFont) 3176 pcszFont = winhQueryDefaultFont(); 3177 3178 cbFont = strlen(pcszFont) + 1; 3180 3179 // set font for all the dialog controls 3181 3180 henum = WinBeginEnumWindows(hwndDlg); … … 3189 3188 PP_FONTNAMESIZE, 3190 3189 cbFont, 3191 szFont))3190 (PSZ)pcszFont)) 3192 3191 // successful: 3193 3192 ulrc++;
Note:
See TracChangeset
for help on using the changeset viewer.