summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorscuri <scuri>2009-09-10 17:30:07 +0000
committerscuri <scuri>2009-09-10 17:30:07 +0000
commit343333317445a86515f2226d69b265f29353d5e8 (patch)
tree63ba983f379bc1d1ea9a99a3123ca52a88b222e4 /src/win32
parentd18b0d3791ca631d2101e8a6ba6046d918843d1c (diff)
*** empty log message ***
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/cdwnative.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/win32/cdwnative.c b/src/win32/cdwnative.c
index fdc223e..69623e1 100644
--- a/src/win32/cdwnative.c
+++ b/src/win32/cdwnative.c
@@ -165,8 +165,7 @@ static void cdcreatecanvas(cdCanvas* canvas, void *data)
if (hWnd)
{
- LONG style;
- style = GetClassLong(hWnd, GCL_STYLE);
+ LONG style = GetClassLong(hWnd, GCL_STYLE);
ctxcanvas->isOwnedDC = (int) ((style & CS_OWNDC) || (style & CS_CLASSDC));
}
else