Hugh McMaster : kernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 6 14:50:56 CST 2016
Module: wine
Branch: master
Commit: 66974e5502c5d094286455cf23f51ca62c5b1220
URL: http://source.winehq.org/git/wine.git/?a=commit;h=66974e5502c5d094286455cf23f51ca62c5b1220
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Wed Jan 6 18:27:59 2016 +1100
kernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/console.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 85e4ba8..5db37a0 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -1398,19 +1398,9 @@ DWORD WINAPI GetLargestConsoleWindowSize(HANDLE hConsoleOutput)
TRACE("(%p), returning %dx%d (%x)\n", hConsoleOutput, x.c.X, x.c.Y, x.w);
return x.w;
}
-#endif /* defined(__i386__) */
+#else
-/***********************************************************************
- * GetLargestConsoleWindowSize (KERNEL32.@)
- *
- * NOTE
- * This should return a COORD, but calling convention for returning
- * structures is different between Windows and gcc on i386.
- *
- * VERSION: [!i386]
- */
-#ifndef __i386__
COORD WINAPI GetLargestConsoleWindowSize(HANDLE hConsoleOutput)
{
COORD c;
More information about the wine-cvs
mailing list