diff options
author | scuri <scuri> | 2009-09-10 17:30:07 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-09-10 17:30:07 +0000 |
commit | 343333317445a86515f2226d69b265f29353d5e8 (patch) | |
tree | 63ba983f379bc1d1ea9a99a3123ca52a88b222e4 /src | |
parent | d18b0d3791ca631d2101e8a6ba6046d918843d1c (diff) |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/win32/cdwnative.c | 3 |
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 |