Changeset 989 for trunk/dll/mainwnd.c
- Timestamp:
- Mar 2, 2008, 12:34:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r985 r989 75 75 #include "comp.h" 76 76 #include "datamin.h" 77 #include " arccnrs.h" // BldQuotedFileName77 #include "pathutil.h" // BldQuotedFileName 78 78 #include "errutil.h" // Dos_Error... 79 79 #include "strutil.h" // GetPString 80 80 #include "notebook.h" // CfgDlgProc CfgMenuInit 81 #include "command.h" // LINKCMDS 81 82 #include "fm3dll.h" 82 83 … … 1536 1537 case UM_RESCAN: 1537 1538 { 1538 CHAR cl[1024]; 1539 1540 *cl = 0; 1541 lbup = TRUE; 1542 if (WinDlgBox(HWND_DESKTOP, 1543 hwnd, 1544 CmdLine2DlgProc, 1545 FM3ModHandle, EXEC2_FRAME, MPFROMP(cl))) { 1546 lstrip(cl); 1547 WinSetWindowText(hwnd, cl); 1548 } 1549 PostMsg(hwnd, UM_FOCUSME, MPVOID, MPVOID); 1550 PostMsg(hwnd, UM_SETUP, MPVOID, MPVOID); 1539 PSZ pszCmdLine; 1540 1541 pszCmdLine = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1542 if (pszCmdLine) { 1543 lbup = TRUE; 1544 if (WinDlgBox(HWND_DESKTOP, 1545 hwnd, 1546 CmdLine2DlgProc, 1547 FM3ModHandle, EXEC2_FRAME, MPFROMP(pszCmdLine))) { 1548 lstrip(pszCmdLine); 1549 WinSetWindowText(hwnd, pszCmdLine); 1550 } 1551 PostMsg(hwnd, UM_FOCUSME, MPVOID, MPVOID); 1552 PostMsg(hwnd, UM_SETUP, MPVOID, MPVOID); 1553 xfree(pszCmdLine); 1554 } 1551 1555 } 1552 1556 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.