This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c | |
index e68420a55b..5bb721a217 100644 | |
--- a/dlls/kernel32/heap.c | |
+++ b/dlls/kernel32/heap.c | |
@@ -1417,10 +1417,7 @@ VOID WINAPI GlobalMemoryStatus( LPMEMORYSTATUS lpBuffer ) | |
/* page file sizes are not limited (Adobe Illustrator 8 depends on this) */ | |
if (!(nt->FileHeader.Characteristics & IMAGE_FILE_LARGE_ADDRESS_AWARE)) | |
{ | |
- if (lpBuffer->dwTotalPhys > MAXLONG) lpBuffer->dwTotalPhys = MAXLONG; | |
- if (lpBuffer->dwAvailPhys > MAXLONG) lpBuffer->dwAvailPhys = MAXLONG; |