- declare variables as extern

- release desktop dc


See issue #3052 for more details.

svn path=/trunk/; revision=32378
This commit is contained in:
Johannes Anderwald 2008-02-15 18:42:24 +00:00
parent 1e4d38ca34
commit 9d172977d3
2 changed files with 9 additions and 8 deletions

View file

@ -278,6 +278,7 @@ void Draw(HDC aDc)
SelectObject (HdcStrech, hOld);
DeleteObject (HbmpStrech);
DeleteDC (HdcStrech);
ReleaseDC(hDesktopWindow, desktopHdc);
}
//

View file

@ -20,17 +20,17 @@
//////////////////////////////////////////////////////////////////
int iZoom;
extern int iZoom;
BOOL bShowWarning;
extern BOOL bShowWarning;
BOOL bFollowMouse;
BOOL bFollowFocus;
BOOL bFollowCaret;
extern BOOL bFollowMouse;
extern BOOL bFollowFocus;
extern BOOL bFollowCaret;
BOOL bInvertColors;
BOOL bStartMinimized;
BOOL bShowMagnifier;
extern BOOL bInvertColors;
extern BOOL bStartMinimized;
extern BOOL bShowMagnifier;
void LoadSettings();
void SaveSettings();