Ignore:
Timestamp:
Jul 6, 2000, 11:18:45 PM (25 years ago)
Author:
sandervl
Message:

strncpy call changes + language api updates/fixes

File:
1 edited

Legend:

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

    r2802 r3804  
    1 /* $Id: profile.cpp,v 1.22 2000-02-16 14:23:12 sandervl Exp $ */
     1/* $Id: profile.cpp,v 1.23 2000-07-06 21:18:44 sandervl Exp $ */
    22
    33/*
     
    965965      PROFILE_OdinProfile = PROFILE_Load( f );
    966966      fclose( f );
    967       strncpy(PROFILE_OdinIniUsed,p,MAX_PATHNAME_LEN-1);
     967      strncpy(PROFILE_OdinIniUsed,p,MAX_PATHNAME_LEN);
     968      PROFILE_OdinIniUsed[MAX_PATHNAME_LEN-1] = 0;
    968969    }
    969970    else
Note: See TracChangeset for help on using the changeset viewer.