aboutsummaryrefslogtreecommitdiff
path: root/src/tools/thmviewer/thmviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/thmviewer/thmviewer.cpp')
-rw-r--r--src/tools/thmviewer/thmviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/thmviewer/thmviewer.cpp b/src/tools/thmviewer/thmviewer.cpp
index 4230dd35..5d4b88f5 100644
--- a/src/tools/thmviewer/thmviewer.cpp
+++ b/src/tools/thmviewer/thmviewer.cpp
@@ -109,10 +109,10 @@ int WINAPI wWinMain(
109 ExitOnFailure(hr, "Failed to create theme."); 109 ExitOnFailure(hr, "Failed to create theme.");
110 110
111 hr = CreateMainWindowClass(hInstance, vpTheme, &atom); 111 hr = CreateMainWindowClass(hInstance, vpTheme, &atom);
112 ExitOnFailure(hr, "Failed to create main window."); 112 ExitOnFailure(hr, "Failed to create thmviewer main window.");
113 113
114 hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd); 114 hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd);
115 ExitOnFailure(hr, "Failed to create window."); 115 ExitOnFailure(hr, "Failed to create thmviewer parent window.");
116 116
117 if (!sczThemeFile) 117 if (!sczThemeFile)
118 { 118 {