Ignore:
Timestamp:
Dec 9, 1999, 8:08:29 PM (26 years ago)
Author:
sandervl
Message:

Read/WriteFile return value type changes

File:
1 edited

Legend:

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

    r2032 r2050  
    1 /* $Id: winres.cpp,v 1.24 1999-12-09 00:52:21 sandervl Exp $ */
     1/* $Id: winres.cpp,v 1.25 1999-12-09 19:08:29 sandervl Exp $ */
    22
    33/*
     
    8080  if(type == NTRT_STRING) {
    8181        memcpy(winresdata, resdata, size);
    82         ((USHORT *)winresdata)[size/sizeof(WCHAR)-1] = 0;
     82        ((USHORT *)winresdata)[size/sizeof(WCHAR)] = 0;
     83//        ((USHORT *)winresdata)[size/sizeof(WCHAR)-1] = 0;
    8384  }
    8485  else  memcpy(winresdata, resdata, size);
Note: See TracChangeset for help on using the changeset viewer.