Commit 51fea220 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

user.exe16: Fix ADD_TO_T macro.

parent f9c68dfd
......@@ -3179,12 +3179,14 @@ DWORD WINAPI FormatMessage16(
talloced= 100;
#define ADD_TO_T(c) \
*t++=c;\
if (t-target == talloced) {\
do { \
*t++=c;\
if (t-target == talloced) {\
target = HeapReAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,target,talloced*2);\
t = target+talloced;\
talloced*=2;\
}
} \
} while(0)
if (from) {
f=from;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment