summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-06 19:05:07 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-06 19:05:07 +0000
commitc6d1516d6474a46c57fffb845ccef7d1bbfaab76 (patch)
treec4b36c8c5cbd137235f96bbee1bef19fa8cec21f /src/corelib/gdi
parent8f3a2f2b9a0650e620e55396f5852e2b7641a34c (diff)
downloadfpGUI-c6d1516d6474a46c57fffb845ccef7d1bbfaab76.tar.xz
Fixed the compiler error under Windows. That will teach me to test before I commit.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index c0e7fe21..66c5fed0 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -348,7 +348,7 @@ function IsWinXPOrLater: Boolean;
begin
Result := (Win32Platform = VER_PLATFORM_WIN32_NT) and
(((Win32MajorVersion = 5) and (Win32MinorVersion >= 1)) or
- ((Win32MajorVersion >= 6) and (Win32MinorVersion >= 0))) );
+ ((Win32MajorVersion >= 6) and (Win32MinorVersion >= 0)));
end;
function fpgWindowProc(hwnd: HWND; uMsg: UINT; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall;