Changeset 123 for trunk/dll/assoc.c
- Timestamp:
- Dec 5, 2004, 1:20:19 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/assoc.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 … … 127 139 break; 128 140 mask[CCHMAXPATH] = 0; 129 stripcr(mask); 130 lstrip(rstrip(mask)); 141 bstripcr(mask); 131 142 if(!*mask || *mask == ';') 132 143 continue; … … 140 151 offset[34] = 0; 141 152 flags[34] = 0; 142 stripcr(cl); 143 stripcr(sig); 144 stripcr(offset); 145 stripcr(flags); 146 lstrip(rstrip(cl)); 147 lstrip(rstrip(sig)); 148 lstrip(rstrip(offset)); 149 lstrip(rstrip(flags)); 153 bstripcr(cl); 154 bstripcr(sig); 155 bstripcr(offset); 156 bstripcr(flags); 150 157 if(!*cl) 151 158 continue; … … 672 679 temp.offset = atol(dummy); 673 680 } 674 lstrip(rstrip(temp.mask));675 lstrip(rstrip(temp.cl));681 bstrip(temp.mask); 682 bstrip(temp.cl); 676 683 if(WinQueryButtonCheckstate(hwnd,ASS_DEFAULT)) 677 684 temp.flags = 0; … … 697 704 *s = 0; 698 705 WinQueryDlgItemText(hwnd,ASS_ENVIRON,1000,s); 699 stripcr(s); 700 lstrip(rstrip(s)); 706 bstripcr(s); 701 707 if(*s) 702 708 PrfWriteProfileString(fmprof,FM3Str,temp.cl,s); … … 742 748 temp.offset = atol(dummy); 743 749 } 744 lstrip(rstrip(temp.mask));750 bstrip(temp.mask); 745 751 PrfWriteProfileData(fmprof, 746 752 FM3Str,
Note:
See TracChangeset
for help on using the changeset viewer.