Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
51fea220
Commit
51fea220
authored
Jul 10, 2017
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jul 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe16: Fix ADD_TO_T macro.
Signed-off-by:
Gerald Pfeifer
<
gerald@pfeifer.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f9c68dfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
user.c
dlls/user.exe16/user.c
+5
-3
No files found.
dlls/user.exe16/user.c
View file @
51fea220
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment