Ignore:
Timestamp:
Aug 18, 1999, 12:56:53 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

File:
1 edited

Legend:

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

    r541 r543  
    1 /* $Id: profile.cpp,v 1.12 1999-08-18 08:42:25 sandervl Exp $ */
     1/* $Id: profile.cpp,v 1.13 1999-08-18 10:56:53 sandervl Exp $ */
    22
    33/*
     
    506506    /* check for path */
    507507
    508     if (!strchr( filename,'/') ||
    509         !strchr( filename,'\\') ||
     508    if ((!strchr( filename,'/') &&
     509        !strchr( filename,'\\')) ||
    510510        !strchr( filename,':'))
    511511    {
     
    905905            PROFILE_WineProfile = PROFILE_Load( f );
    906906            fclose( f );
    907        strncpy(PROFILE_WineIniUsed,buffer,MAX_PATHNAME_LEN-1);
     907            strncpy(PROFILE_WineIniUsed,buffer,MAX_PATHNAME_LEN-1);
    908908            return 1;
    909909        }
     
    11771177    BOOL ret = FALSE;
    11781178
     1179    dprintf(("WritePrivateProfileStringA: %s %s %s", section, entry, string));
    11791180    EnterCriticalSection( &PROFILE_CritSect );
    11801181
     
    13981399    INT x;
    13991400
     1401    dprintf(("WriteOutProfiles"));
    14001402    EnterCriticalSection(&PROFILE_CritSect);
    14011403    PROFILE_FlushFile(); //flash current
Note: See TracChangeset for help on using the changeset viewer.