Changeset 1498 for trunk/dll/mainwnd2.c
- Timestamp:
- Jan 18, 2010, 1:57:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd2.c
r1486 r1498 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2005, 20 08Steven H. Levine9 Copyright (c) 2005, 2010 Steven H. Levine 10 10 11 11 23 May 05 SHL Use datamin.h … … 38 38 aren't user settable; realappname should be used for setting applicable to 39 39 one or more miniapp but not to FM/2 40 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 40 41 41 42 ***********************************************************************/ … … 604 605 fTileBackwards = (fTileBackwards) ? FALSE : TRUE; 605 606 PrfWriteProfileData(fmprof, 606 FM3Str,607 (CHAR *) FM3Str, 607 608 "TileBackwards", 608 609 (PVOID) & fTileBackwards, sizeof(BOOL)); … … 993 994 994 995 case WM_SAVEAPPLICATION: 995 WinStoreWindowPos( FM2Str,996 WinStoreWindowPos((CHAR *) FM2Str, 996 997 "MainWindowPos2", WinQueryWindow(hwnd, QW_PARENT)); 997 998 pd = WinQueryWindowPtr(hwnd, QWL_USER + 4); … … 1416 1417 1417 1418 if (PrfQueryProfileString(HINI_USERPROFILE, 1418 FM2Str,1419 (CHAR *) FM2Str, 1419 1420 "Home", NULL, inipath, sizeof(inipath))) { 1420 1421 if (!DosQueryPathInfo(inipath, FIL_STANDARD, &fsa, sizeof(fsa))) { … … 1432 1433 WS_VISIBLE, 1433 1434 &FrameFlags, 1434 WC_MAINWND2,1435 (CHAR *) WC_MAINWND2, 1435 1436 NULL, 1436 1437 WS_VISIBLE | WS_ANIMATE, … … 1438 1439 if (hwndFrame) { 1439 1440 hwndMainMenu = WinWindowFromID(hwndFrame, FID_MENU); 1440 if (!WinRestoreWindowPos( FM2Str, "MainWindowPos2", hwndFrame)) {1441 if (!WinRestoreWindowPos((CHAR *) FM2Str, "MainWindowPos2", hwndFrame)) { 1441 1442 1442 1443 ULONG fl = SWP_MOVE | SWP_SIZE;
Note:
See TracChangeset
for help on using the changeset viewer.