Ignore:
Timestamp:
Aug 18, 1999, 10:35:38 AM (26 years ago)
Author:
sandervl
Message:

Profile fixes by Przemyslaw Dobrowolski

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/profile.cpp

    r537 r539  
    1 /* $Id: profile.cpp,v 1.10 1999-08-17 19:30:49 phaller Exp $ */
     1/* $Id: profile.cpp,v 1.11 1999-08-18 08:35:38 sandervl Exp $ */
    22
    33/*
     
    158158    for ( ; section; section = section->next)
    159159    {
    160         if (section->name) fprintf( file, "\r\n[%s]\r\n", section->name );
     160        if (section->name) fprintf( file, "\n[%s]\n", section->name );
    161161        for (key = section->key; key; key = key->next)
    162162        {
    163163            fprintf( file, "%s", key->name );
    164164            if (key->value) fprintf( file, "=%s", key->value );
    165             fprintf( file, "\r\n" );
     165            fprintf( file, "\n" );
    166166        }
    167167    }
     
    506506    /* check for path */
    507507
    508     if (!strchr( filename,'/') ||
    509         !strchr( filename,'\\') ||
     508    if (!strchr( filename,'/') &&
     509        !strchr( filename,'\\') &&
    510510        !strchr( filename,':'))
    511511    {
Note: See TracChangeset for help on using the changeset viewer.