user.exe16: Fix ADD_TO_T macro.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f9c68dfd92
commit
51fea2208e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue