Changeset 123 for trunk/dll/command.c
- Timestamp:
- Dec 5, 2004, 1:20:19 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/command.c
r2 r123 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2004 Steven H.Levine 8 9 Revisions 01 Aug 04 SHL Rework lstrip/rstrip usage 10 11 ***********************************************************************/ 12 1 13 #define INCL_DOS 2 14 #define INCL_WIN … … 317 329 break; 318 330 title[34] = 0; 319 stripcr(title); 320 lstrip(rstrip(title)); 331 bstripcr(title); 321 332 if(!*title || *title == ';') 322 333 continue; … … 326 337 cl[1000] = 0; 327 338 flags[34] = 0; 328 stripcr(cl); 329 stripcr(flags); 330 lstrip(rstrip(cl)); 331 lstrip(rstrip(flags)); 339 bstripcr(cl); 340 bstripcr(flags); 332 341 if(!*cl) 333 342 continue; … … 653 662 sizeof(temp.cl), 654 663 temp.cl); 655 lstrip(rstrip(temp.cl));664 bstrip(temp.cl); 656 665 WinQueryDlgItemText(hwnd,CMD_TITLE,sizeof(temp.title),temp.title); 657 666 if(WinQueryButtonCheckstate(hwnd,CMD_DEFAULT)) … … 681 690 1000, 682 691 env); 683 stripcr(env); 684 lstrip(rstrip(env)); 692 bstripcr(env); 685 693 if(*env) 686 694 PrfWriteProfileString(fmprof, … … 718 726 719 727 WinQueryDlgItemText(hwnd,CMD_TITLE,34,temp); 720 lstrip(rstrip(temp));728 bstrip(temp); 721 729 if(kill_command(temp)) { 722 730 x = (SHORT)WinSendDlgItemMsg(hwnd,
Note:
See TracChangeset
for help on using the changeset viewer.