Changeset 12611
- Timestamp:
- 2006-08-30T15:12:37+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/UCArray.cpp
r12234 r12611 60 60 return cstr; 61 61 } 62 63 /** char * returned becomes the responsibility of the caller */ 62 64 unsigned char * MyGetCStr(const UCArray& text) { 63 65 … … 259 261 utf8_word_to_unicode (a2_str, a2_out, 255); 260 262 263 delete []a1_str; 264 delete []a2_str; 265 261 266 int l1 = a1_out[0]; 262 267 int l2 = a2_out[0]; … … 340 345 utf8_word_to_unicode (a2_str, a2_out, 255); 341 346 347 delete []a1_str; 348 delete []a2_str; 349 342 350 unsigned int len = a2_out[0];; 343 351 for (int i=1; i<=len; ++i) {
Note:
See TracChangeset
for help on using the changeset viewer.