diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-15 00:18:43 -0700 |
commit | 25e85e1b809ec58ecac0f2e8fe48f74836f8e131 (patch) | |
tree | a53caef2257fefdd6610a17427fd14ee656bbc92 /cd/src/win32/cdwnative.c | |
parent | 7c0c85a86aa73c0c495523f994f8412e377a8195 (diff) |
Upgrading to CD 5.3
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 |