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/KERNEL32.CPP

    r3794 r3804  
    1 /* $Id: KERNEL32.CPP,v 1.48 2000-07-03 12:12:37 bird Exp $ */
     1/* $Id: KERNEL32.CPP,v 1.49 2000-07-06 21:18:38 sandervl Exp $ */
    22
    33/*
     
    899899{
    900900    // quick hack!  this code is not done!
     901    dprintf(("LCMapStringW: NOT IMPLEMENTED!"));
    901902    if(cchSrc == -1)
    902903        cchSrc = strlen((const char *)lpSrcStr);
    903904    if(!cchDest)
    904905        return cchSrc;
    905     strncpy((char *)lpDestStr, (const char *)lpSrcStr, max(cchSrc, cchDest));
     906    lstrcpynW(lpDestStr, lpSrcStr, max(cchSrc, cchDest));
    906907    return max(cchSrc, cchDest);
    907908}
Note: See TracChangeset for help on using the changeset viewer.