From 39b7ae3614f70e5dc290072764a075da69c35646 Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Sun, 25 Feb 2007 22:42:49 +0000 Subject: [PATCH 1/1] Compile fix --- modules/gui/skins2/win32/win32_factory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/skins2/win32/win32_factory.cpp b/modules/gui/skins2/win32/win32_factory.cpp index bb03baa628..be42a67d23 100644 --- a/modules/gui/skins2/win32/win32_factory.cpp +++ b/modules/gui/skins2/win32/win32_factory.cpp @@ -370,8 +370,7 @@ SkinsRect Win32Factory::getWorkArea() const RECT r; SystemParametersInfo( SPI_GETWORKAREA, 0, &r, 0 ); // Fill a Rect object - SkinsRect SkinsRect( r.left, r.top, r.right, r.bottom ); - return rect; + return SkinsRect( r.left, r.top, r.right, r.bottom ); } -- 2.20.1