Changeset 1498 for trunk/dll/assoc.c
- Timestamp:
- Jan 18, 2010, 1:57:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/assoc.c
r1497 r1498 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2004, 20 08Steven H.Levine7 Copyright (c) 2004, 2010 Steven H.Levine 8 8 9 9 01 Aug 04 SHL Rework lstrip/rstrip usage … … 22 22 15 Nov 09 GKY Add check for attempt to open zero byte file (avoids MMPM trying to play them) 23 23 21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c 24 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 24 25 25 26 **************************************************************************************/ … … 234 235 bstripcr(szEnviroment); 235 236 if (*szEnviroment) 236 PrfWriteProfileString(fmprof, FM3Str, temp->pszCmdLine, szEnviroment);237 PrfWriteProfileString(fmprof, (CHAR *) FM3Str, temp->pszCmdLine, szEnviroment); 237 238 pszDisplayStr = xmallocz((CCHMAXPATH * 2) + MaxComLineStrg + 6, 238 239 pszSrcFile, __LINE__); … … 638 639 size = sizeof(env) - 1; 639 640 if (PrfQueryProfileData(fmprof, 640 FM3Str, info->pszCmdLine, env, &size) && *env)641 (CHAR *) FM3Str, info->pszCmdLine, env, &size) && *env) 641 642 WinSetDlgItemText(hwnd, ASS_ENVIRON, env); 642 643 else … … 883 884 } 884 885 bstrip(temp.mask); 885 PrfWriteProfileData(fmprof, FM3Str, temp.mask, NULL, 0L);886 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, temp.mask, NULL, 0L); 886 887 if (kill_association(&temp)) { 887 888 x = (SHORT) WinSendDlgItemMsg(hwnd, … … 989 990 } 990 991 bstrip(temp.mask); 991 PrfWriteProfileData(fmprof, FM3Str, temp.mask, NULL, 0L);992 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, temp.mask, NULL, 0L); 992 993 if (!kill_association(&temp)) 993 994 Runtime_Error(pszSrcFile, __LINE__, "kill_association");
Note:
See TracChangeset
for help on using the changeset viewer.