Changeset 1400 for trunk/dll/treecnr.c
- Timestamp:
- Mar 8, 2009, 6:50:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/treecnr.c
r1398 r1400 62 62 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale 63 63 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error 64 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 65 08 Mar 09 GKY Additional strings move to PCSZs in init.c 66 08 Mar 09 GKY Add WriteDetailsSwitches and use LoadDetailsSwitches to replace in line code 64 67 65 68 ***********************************************************************/ … … 122 125 #include "newview.h" // StartViewer 123 126 #include "walkem.h" // WalkAllDlgProc 124 #include " commafmt.h" // CommaFmtULL127 #include "i18nutil.h" // CommaFmtULL 125 128 #include "wrappers.h" // xDosFindFirst 126 129 #include "systemf.h" // runemf2 … … 181 184 WinSetPresParam(hwnd, PP_FONTNAMESIZE, 182 185 strlen(FNT_8TIMESNEWROMAN) + 1, 183 FNT_8TIMESNEWROMAN);186 (PVOID) FNT_8TIMESNEWROMAN); 184 187 return rc; 185 188 } … … 1115 1118 1116 1119 case WM_PRESPARAMCHANGED: 1117 PresParamChanged(hwnd, "TreeCnr", mp1, mp2);1120 PresParamChanged(hwnd, PCSZ_TREECNR, mp1, mp2); 1118 1121 break; 1119 1122 … … 1272 1275 # endif 1273 1276 1274 RestorePresParams(hwnd, "TreeCnr");1277 RestorePresParams(hwnd, PCSZ_TREECNR); 1275 1278 memset(&cnri, 0, sizeof(CNRINFO)); 1276 1279 cnri.cb = sizeof(CNRINFO); … … 2309 2312 else { 2310 2313 if (!PostMsg(dcd->hwndObject, UM_COMMAND, mp1, mp2)) { 2311 Runtime_Error(pszSrcFile, __LINE__, "PostMsg");2314 Runtime_Error(pszSrcFile, __LINE__, PCSZ_POSTMSG); 2312 2315 FreeListInfo((LISTINFO *) mp1); 2313 2316 } … … 2600 2603 runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__, 2601 2604 NULL, NULL, 2602 "%s", "MINILVM.EXE");2605 "%s", PCSZ_MINILVMEXE); 2603 2606 break; 2604 2607 … … 2606 2609 runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__, 2607 2610 NULL, NULL, 2608 "%s", "DFSOS2.EXE");2611 "%s", PCSZ_DFSOS2EXE); 2609 2612 break; 2610 2613 … … 2612 2615 runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__, 2613 2616 NULL, NULL, 2614 "%s", "LVMGUI.CMD");2617 "%s", PCSZ_LVMGUICMD); 2615 2618 break; 2616 2619 … … 2618 2621 runemf2(SEPARATE | WINDOWED, HWND_DESKTOP, pszSrcFile, __LINE__, 2619 2622 NULL, NULL, 2620 "%s", "FDISKPM.EXE");2623 "%s", PCSZ_FDISKPMEXE); 2621 2624 break; 2622 2625 … … 2624 2627 runemf2(SEPARATE | WINDOWED | BACKGROUND | MINIMIZED | WAIT, 2625 2628 HWND_DESKTOP, pszSrcFile, __LINE__, NULL, NULL, 2626 "%s ", "LVM.EXE/RediscoverPRM");2629 "%s %s", PCSZ_LVMEXE, "/RediscoverPRM"); 2627 2630 PostMsg(hwndTree, WM_COMMAND, MPFROM2SHORT(IDM_RESCAN, 0), MPVOID); 2628 2631 break; … … 2993 2996 *li->targetpath = 0; 2994 2997 if (!PostMsg(dcd->hwndObject, action, MPFROMP(li), MPVOID)) { 2995 Runtime_Error(pszSrcFile, __LINE__, "PostMsg");2998 Runtime_Error(pszSrcFile, __LINE__, PCSZ_POSTMSG); 2996 2999 FreeListInfo(li); 2997 3000 }
Note:
See TracChangeset
for help on using the changeset viewer.