Changeset 4502 for trunk/src/kernel32/message.cpp
- Timestamp:
- Oct 20, 2000, 1:46:48 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/message.cpp
r4440 r4502 1 /* $Id: message.cpp,v 1.1 2 2000-10-06 11:04:01sandervl Exp $ */1 /* $Id: message.cpp,v 1.13 2000-10-20 11:46:47 sandervl Exp $ */ 2 2 3 3 /* … … 26 26 #include "heapstring.h" 27 27 28 #define DBG_LOCALLOG 28 #define DBG_LOCALLOG DBG_message 29 29 #include "dbglocal.h" 30 30 … … 223 223 } 224 224 225 if (dwFlags & FORMAT_MESSAGE_IGNORE_INSERTS) { 226 /* Ignore inserts, except for '%0' - maybe more? */ 227 if (*f == '0') { 228 eos = TRUE; 229 f++; 230 continue; 231 } 232 else { 233 ADD_TO_T('%'); 234 continue; 235 } 236 } 237 225 238 switch (*f) 226 239 { … … 356 369 HeapFree(GetProcessHeap(),0,from); 357 370 371 dprintf(("gives: %s", (dwFlags & FORMAT_MESSAGE_ALLOCATE_BUFFER) ? 372 *(LPSTR*)lpBuffer : lpBuffer)); 373 358 374 return (dwFlags & FORMAT_MESSAGE_ALLOCATE_BUFFER) ? 359 375 strlen(*(LPSTR*)lpBuffer): … … 446 462 continue; 447 463 } 464 465 if (dwFlags & FORMAT_MESSAGE_IGNORE_INSERTS) { 466 /* Ignore inserts, except for '%0' - maybe more? */ 467 if (*f == '0') { 468 eos = TRUE; 469 f++; 470 continue; 471 } 472 else { 473 ADD_TO_T('%'); 474 continue; 475 } 476 } 477 448 478 switch (*f) { 449 479 case '1':case '2':case '3':case '4':case '5':
Note:
See TracChangeset
for help on using the changeset viewer.