Changeset 1400 for trunk/dll/newview.c
- Timestamp:
- Mar 8, 2009, 6:50:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/newview.c
r1398 r1400 36 36 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 37 37 07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error 38 08 Mar 09 GKY Renamed commafmt.h i18nutil.h 39 08 Mar 09 GKY Additional strings move to PCSZs in init.c 38 40 39 41 ***********************************************************************/ … … 83 85 #include "chklist.h" // PopupMenu 84 86 #include "viewer.h" // StartMLEEditor 85 #include " commafmt.h" // commafmt87 #include "i18nutil.h" // commafmt 86 88 #include "getnames.h" // export_filename 87 89 #include "literal.h" // literal … … 1823 1825 PP_FONTNAMESIZE, 1824 1826 strlen(FNT_8HELVETICA) + 1, 1825 FNT_8HELVETICA);1827 (PVOID) FNT_8HELVETICA); 1826 1828 } 1827 1829 temphwnd = WinCreateWindow(hwndFrame, … … 1844 1846 PP_FONTNAMESIZE, 1845 1847 strlen(FNT_8HELVETICA) + 1, 1846 FNT_8HELVETICA);1848 (PVOID) FNT_8HELVETICA); 1847 1849 } 1848 1850 WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, ID_TIMER5, 1000L); … … 2469 2471 2470 2472 size = sizeof(WPSDefaultHttpRun); 2471 PrfQueryProfileData(HINI_USERPROFILE, "WPURLDEFAULTSETTINGS",2473 PrfQueryProfileData(HINI_USERPROFILE, PCSZ_WPURLDEFAULTSETTINGS, 2472 2474 "DefaultBrowserExe", WPSDefaultHttpRun, &size); 2473 2475 size = sizeof(WPSDefaultHttpRunDir); 2474 PrfQueryProfileData(HINI_USERPROFILE, "WPURLDEFAULTSETTINGS",2476 PrfQueryProfileData(HINI_USERPROFILE, PCSZ_WPURLDEFAULTSETTINGS, 2475 2477 "DefaultWorkingDir", WPSDefaultHttpRunDir, &size); 2476 2478 runemf2(SEPARATE | WINDOWED, 2477 2479 hwnd, pszSrcFile, __LINE__, 2478 2480 WPSDefaultHttpRunDir, 2479 fLibPathStrictHttpRun ? "SET LIBPATHSTRICT=TRUE": NULL,2481 fLibPathStrictHttpRun ? pLibPathStrict : NULL, 2480 2482 "%s %s", WPSDefaultHttpRun, urld->url); 2481 2483 } … … 2484 2486 hwnd, pszSrcFile, __LINE__, 2485 2487 httprundir, 2486 fLibPathStrictHttpRun ? "SET LIBPATHSTRICT=TRUE": NULL,2488 fLibPathStrictHttpRun ? pLibPathStrict : NULL, 2487 2489 "%s %s", httprun, urld->url); 2488 2490 } … … 2495 2497 2496 2498 size = sizeof(WPSDefaultFtpRun); 2497 PrfQueryProfileData(HINI_USERPROFILE, "WPURLDEFAULTSETTINGS",2499 PrfQueryProfileData(HINI_USERPROFILE, PCSZ_WPURLDEFAULTSETTINGS, 2498 2500 "DefaultBrowserExe", WPSDefaultFtpRun, &size); 2499 2501 size = sizeof(WPSDefaultFtpRunDir); 2500 PrfQueryProfileData(HINI_USERPROFILE, "WPURLDEFAULTSETTINGS",2502 PrfQueryProfileData(HINI_USERPROFILE, PCSZ_WPURLDEFAULTSETTINGS, 2501 2503 "DefaultWorkingDir", WPSDefaultFtpRunDir, &size); 2502 2504 runemf2(SEPARATE | WINDOWED, 2503 2505 hwnd, pszSrcFile, __LINE__, 2504 2506 WPSDefaultFtpRunDir, 2505 fLibPathStrictFtpRun ? "SET LIBPATHSTRICT=TRUE": NULL,2507 fLibPathStrictFtpRun ? pLibPathStrict : NULL, 2506 2508 "%s %s", WPSDefaultFtpRun, urld->url); 2507 2509 } … … 2510 2512 hwnd, pszSrcFile, __LINE__, 2511 2513 ftprundir, 2512 fLibPathStrictFtpRun ? "SET LIBPATHSTRICT=TRUE": NULL,2514 fLibPathStrictFtpRun ? pLibPathStrict : NULL, 2513 2515 "%s %s", ftprun, urld->url); 2514 2516 } … … 2520 2522 hwnd, pszSrcFile, __LINE__, 2521 2523 mailrundir, 2522 fLibPathStrictMailRun ? "SET LIBPATHSTRICT=TRUE": NULL,2524 fLibPathStrictMailRun ? pLibPathStrict : NULL, 2523 2525 "%s %s", mailrun, urld->url); 2524 2526 } … … 2637 2639 PP_FONTNAMESIZE, 2638 2640 strlen(FNT_8HELVETICA) + 1, 2639 FNT_8HELVETICA);2641 (PVOID) FNT_8HELVETICA); 2640 2642 } 2641 2643 if (ad->hwndPopup) {
Note:
See TracChangeset
for help on using the changeset viewer.