diff options
Diffstat (limited to 'src/dutil/thmutil.cpp')
-rw-r--r-- | src/dutil/thmutil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dutil/thmutil.cpp b/src/dutil/thmutil.cpp index 3cdc09e3..6c9c5cd6 100644 --- a/src/dutil/thmutil.cpp +++ b/src/dutil/thmutil.cpp | |||
@@ -660,6 +660,7 @@ DAPI_(HRESULT) ThemeCreateParentWindow( | |||
660 | } | 660 | } |
661 | else | 661 | else |
662 | { | 662 | { |
663 | hr = S_OK; | ||
663 | x = CW_USEDEFAULT; | 664 | x = CW_USEDEFAULT; |
664 | y = CW_USEDEFAULT; | 665 | y = CW_USEDEFAULT; |
665 | } | 666 | } |
@@ -4683,6 +4684,8 @@ static HRESULT ShowControl( | |||
4683 | ++iPageControl; | 4684 | ++iPageControl; |
4684 | } | 4685 | } |
4685 | 4686 | ||
4687 | hr = S_OK; | ||
4688 | |||
4686 | Button_SetCheck(hWnd, (!sczText && !pControl->sczValue) || CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczText, -1, pControl->sczValue, -1)); | 4689 | Button_SetCheck(hWnd, (!sczText && !pControl->sczValue) || CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczText, -1, pControl->sczValue, -1)); |
4687 | } | 4690 | } |
4688 | } | 4691 | } |