Changeset 1009 for trunk/dll/mainwnd.c
- Timestamp:
- May 10, 2008, 9:51:58 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/mainwnd.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r989 r1009 182 182 WinEnableWindow(WinQueryWindow(hwndMain, QW_PARENT), TRUE); 183 183 fNoTileUpdate = FALSE; 184 xfree((char *)mp1 );184 xfree((char *)mp1, pszSrcFile, __LINE__); 185 185 if (fAutoTile) 186 186 TileChildren(hwndMain, TRUE); … … 511 511 WinSetMultWindowPos(WinQueryAnchorBlock(hwnd), &swp[2], numtools); 512 512 } 513 xfree(swp );513 xfree(swp, pszSrcFile, __LINE__); 514 514 } 515 515 WinInvalidateRect(hwnd, NULL, TRUE); … … 1005 1005 } 1006 1006 } 1007 xfree(s );1007 xfree(s, pszSrcFile, __LINE__); 1008 1008 } 1009 1009 } … … 1551 1551 PostMsg(hwnd, UM_FOCUSME, MPVOID, MPVOID); 1552 1552 PostMsg(hwnd, UM_SETUP, MPVOID, MPVOID); 1553 xfree(pszCmdLine );1553 xfree(pszCmdLine, pszSrcFile, __LINE__); 1554 1554 } 1555 1555 } … … 1610 1610 SEPARATEKEEP : SEPARATE), 1611 1611 directory, list, NULL, pszSrcFile, __LINE__); 1612 xfree(list );1612 xfree(list, pszSrcFile, __LINE__); 1613 1613 WinDestroyWindow(hwnd); 1614 1614 break; … … 2238 2238 case UM_SETUP: 2239 2239 if (mp1) 2240 strcpy(lastcmd, (CHAR *) mp1);2240 strcpy(lastcmd, (CHAR *)mp1); 2241 2241 return 0; 2242 2242 … … 5806 5806 if (fUserComboBox) 5807 5807 WinSetWindowText(WinWindowFromID(hwndUserlist, CBID_EDIT), 5808 (CHAR *) mp1);5809 if (add_udir(FALSE, (CHAR *) mp1)) {5808 (CHAR *)mp1); 5809 if (add_udir(FALSE, (CHAR *)mp1)) { 5810 5810 if (fUserComboBox && fAutoAddDirs) { 5811 5811 WinSendMsg(hwndUserlist, LM_INSERTITEM, 5812 5812 MPFROM2SHORT(LIT_SORTASCENDING, 0), 5813 MPFROMP((CHAR *) mp1));5813 MPFROMP((CHAR *)mp1)); 5814 5814 } 5815 5815 } … … 5910 5910 5911 5911 case UM_ADDTOMENU: 5912 AddToMenu((CHAR *) mp1, WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT),5912 AddToMenu((CHAR *)mp1, WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT), 5913 5913 FID_MENU)); 5914 5914 return 0; … … 6237 6237 MPFROMP(pszStateName), 6238 6238 MPVOID)) { 6239 xfree(pszStateName );6239 xfree(pszStateName, pszSrcFile, __LINE__); 6240 6240 } 6241 6241 } … … 6311 6311 if (!PostMsg(MainObjectHwnd, UM_RESTORE, MPFROMP(pszDefaultStateName), MPVOID)) 6312 6312 // 05 Feb 08 SHL fixme to complain? 6313 xfree(pszDefaultStateName );6313 xfree(pszDefaultStateName, pszSrcFile, __LINE__); 6314 6314 } 6315 6315 }
Note:
See TracChangeset
for help on using the changeset viewer.
