- Timestamp:
- Aug 18, 1999, 7:26:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/profile.cpp
r547 r551 1 /* $Id: profile.cpp,v 1.1 4 1999-08-18 16:44:45 phallerExp $ */1 /* $Id: profile.cpp,v 1.15 1999-08-18 17:26:44 sandervl Exp $ */ 2 2 3 3 /* … … 158 158 for ( ; section; section = section->next) 159 159 { 160 if (section->name) fprintf( file, "\ r\n[%s]\r\n", section->name );160 if (section->name) fprintf( file, "\n[%s]\n", section->name ); 161 161 for (key = section->key; key; key = key->next) 162 162 { 163 163 fprintf( file, "%s", key->name ); 164 164 if (key->value) fprintf( file, "=%s", key->value ); 165 fprintf( file, "\ r\n" );165 fprintf( file, "\n" ); 166 166 } 167 167 } … … 506 506 /* check for path */ 507 507 508 if ( !strchr( filename,'/') ||509 !strchr( filename,'\\') ||508 if ((!strchr( filename,'/') && 509 !strchr( filename,'\\')) || 510 510 !strchr( filename,':')) 511 511 {
Note:
See TracChangeset
for help on using the changeset viewer.