| changeset 245 | e2e3739f6ccd |
| parent 244 | 7b246a2ad39c |
| child 105 | 0363d2c6d92f |
| child 246 | 962d2947c6d6 |
1.1 --- a/metamod/mplugin.cpp Thu Aug 19 21:41:18 2004 +0000 1.2 +++ b/metamod/mplugin.cpp Sat Aug 21 16:13:14 2004 +0000 1.3 @@ -66,6 +66,10 @@ 1.4 // skip whitespace at start of line 1.5 while(*line==' ' || *line=='\t' ) line++; 1.6 1.7 + // remove whitespace at end of line 1.8 + cp = line + strlen(line) -1; 1.9 + while(*cp==' ' || *cp=='\t') *cp--='\0'; 1.10 + 1.11 // skip empty lines 1.12 if(line[0]=='\0') { 1.13 META_DEBUG(7, ("ini: Ignoring empty line: %s", line));