http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4696a53
)
kernel32: Return the appropriate binary type for 64-bit PE files.
author
Alexandre Julliard
<julliard@winehq.org>
Wed, 21 Oct 2009 16:02:30 +0000
(18:02 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 21 Oct 2009 16:02:30 +0000
(18:02 +0200)
dlls/kernel32/module.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/kernel32/module.c
b/dlls/kernel32/module.c
index 05d5add6205e4a1cd0574a580726a86b4149cefd..8b5231b01205c86a14691ba5354665d043315ab2 100644
(file)
--- a/
dlls/kernel32/module.c
+++ b/
dlls/kernel32/module.c
@@
-443,7
+443,7
@@
BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType )
break;
}
case BINARY_PE:
- *lpBinaryType = SCS_32BIT_BINARY;
+ *lpBinaryType =
(binary_type & BINARY_FLAG_64BIT) ? SCS_64BIT_BINARY :
SCS_32BIT_BINARY;
ret = TRUE;
break;
case BINARY_WIN16: