Changeset 129 for trunk/settings.cpp
- Timestamp:
- Sep 5, 2021, 7:31:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/settings.cpp
r125 r129 1360 1360 p = env; 1361 1361 p++; 1362 if (!stricmp(p, ":\\sys") ) {1362 if (!stricmp(p, ":\\sys") || !stricmp(p, ":\\ecs")) { 1363 1363 strcpy(ucFont, "9.Workplace Sans"); 1364 1364 WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont); 1365 1365 } 1366 /*if (pset->GetLangID() == RU || pset->GetLangID() == CZ || pset->GetLangID() == PL) {*/1367 1366 else { 1368 1367 strcpy(ucFont, "9.Times New Roman MT 30"); 1369 1368 WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont); 1370 1369 } 1371 /*else if (g_installer) {1372 strcpy(ucFont, 9.WarpSans");1373 WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont);1374 } */1375 1370 return MRESULT (FALSE); 1376 1371 } … … 1522 1517 if ((rc = DosLoadModule(PSZ(NULL), 0, psz, &g_hmod))) 1523 1518 { 1524 DisplayError(RSTR(IDS_HEADER_ERROR), 1525 RSTR(IDS_ERROR_RESOURSEMODFAILED), psz, rc); 1519 DisplayError("Error", 1520 "Could not (re)load resource module '%s' (return code %d). " 1521 "Make sure the DLL is in the LIBPATH. If this is the case, " 1522 "try deleting GOTCHA.INI and restart. If this fails, contact " 1523 "the author (ygk@qwest.net).", psz, rc); 1524 // This won't work since the strings are in the resource DLL 1525 //DisplayError(RSTR(IDS_HEADER_ERROR), 1526 // RSTR(IDS_ERROR_RESOURSEMODFAILED), psz, rc); 1526 1527 exit(1); 1527 1528 }
Note:
See TracChangeset
for help on using the changeset viewer.