diff options
Diffstat (limited to 'cd/src/win32/cdwnative.c')
-rwxr-xr-x | cd/src/win32/cdwnative.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cd/src/win32/cdwnative.c b/cd/src/win32/cdwnative.c index fdc223e..69623e1 100755 --- a/cd/src/win32/cdwnative.c +++ b/cd/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 |