Ignore:
Timestamp:
Jun 23, 1999, 9:36:24 PM (26 years ago)
Author:
phaller
Message:

Fix: Someone with strong stomach should take care of the resource loader code

File:
1 edited

Legend:

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

    r100 r163  
    1 /* $Id: unicode.cpp,v 1.7 1999-06-10 20:47:54 phaller Exp $ */
     1/* $Id: unicode.cpp,v 1.8 1999-06-23 19:36:24 phaller Exp $ */
    22
    33/*
     
    230230  AsciiToUnicodeN(ascii, unicode, strlen(ascii));
    231231}
    232 //******************************************************************************
    233 //TODO: use OS/2 unicode stuff
    234 //******************************************************************************
    235 char *UnicodeToAscii(int length, WCHAR *NameString)
    236 {
    237 static char asciistring[256];
    238 int i;
    239 
    240   if(length >= 255) length = 255;
    241   for(i=0;i<length;i++) {
    242     asciistring[i] = NameString[i] & 0xFF;
    243   }
    244   asciistring[length] = 0;
    245   return(asciistring);
    246 }
    247 //******************************************************************************
    248 //******************************************************************************
     232
Note: See TracChangeset for help on using the changeset viewer.