Changeset 83 for trunk/src/kernel32/unicode.cpp
- Timestamp:
- Jun 9, 1999, 10:16:53 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/unicode.cpp
r81 r83 1 1 /* 2 *3 2 * Project Odin Software License can be found in LICENSE.TXT 4 *5 */6 /*7 3 * Unicode functions 8 *9 4 * Copyright 1998 Joel Troster 10 * 5 * Copyright 1999 Patrick haller 11 6 */ 12 7 #include <os2win.h> … … 136 131 } 137 132 else 138 {139 for(i = 0; i < unilen; i++) {140 141 } 142 astring[unilen] = 0;143 } 133 /* idiots unicode conversion :) */ 134 for(i = 0; i < unilen; i++) 135 astring[i] = (char)ustring[i]; 136 137 astring[unilen] = 0; // @@@PH: 1999/06/09 fix - always terminate string 138 144 139 return(unilen); 145 140 } … … 217 212 218 213 unicode[asciilen] = 0; 214 //SvL: Messes up the heap 215 // unicode[len+1] = 0; /* @@@PH 98/06/07 */ 219 216 } 220 217 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.