Changeset 552 for trunk/dll/command.c
- Timestamp:
- Mar 1, 2007, 7:24:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/command.c
r551 r552 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004, 200 6Steven H. Levine9 Copyright (c) 2004, 2007 Steven H. Levine 10 10 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage … … 15 15 15 Aug 06 SHL Better can't add message 16 16 18 Sep 06 GKY Add replace command and update okay to add if changed 17 17 Feb 07 GKY Move error messages etc to string file 17 18 18 19 ***********************************************************************/ … … 638 639 info = add_command(&temp); 639 640 if (!info) 641 { 640 642 WinDismissDlg(hwnd, 0); 641 /*{ 642 /* saymsg(MB_ENTER, 643 hwnd, 643 saymsg(MB_ENTER, hwnd, 644 644 GetPString(IDS_ERRORTEXT), 645 //GetPString(IDS_CANTADDCOMMANDTEXT),646 "Can't add %s to command list", temp.title); // fixme to be in fm3dll.str647 } */645 GetPString(IDS_CANTADDCOMMANDTEXT), 646 temp.title); 647 } 648 648 else { 649 649 CHAR env[1002]; … … 718 718 if (!info) { 719 719 saymsg(MB_ENTER, hwnd, GetPString(IDS_ERRORTEXT), 720 // GetPString(IDS_CANTADDCOMMANDTEXT), 721 "Can't add %s to command list It has a duplicate title", temp.title); // fixme to be in fm3dll.str 720 GetPString(IDS_CANTADDCOMMANDTEXTDUP), temp.title); 722 721 } 723 722 else { … … 782 781 WinQueryDlgItemText(hwnd, CMD_TITLE, 34, temp); 783 782 bstrip(temp); 784 if (!kill_command(temp)) 785 Runtime_Error(pszSrcFile, __LINE__, "kill_command"); 786 else { 783 if (kill_command(temp)) 784 { 787 785 x = (SHORT) WinSendDlgItemMsg(hwnd, 788 786 CMD_LISTBOX, … … 827 825 if (!info) { 828 826 saymsg(MB_ENTER, hwnd, GetPString(IDS_ERRORTEXT), 829 //GetPString(IDS_CANTADDCOMMANDTEXT),830 "Can't add %s to command list", temp.title); // fixme to be in fm3dll.str827 GetPString(IDS_CANTADDCOMMANDTEXT), 828 temp.title); 831 829 } 832 830 else {
Note:
See TracChangeset
for help on using the changeset viewer.