fix debug build with vs2017

This commit is contained in:
2018-02-10 18:53:56 +01:00
parent 0d7217af7b
commit 72603d5df8
16 changed files with 176 additions and 115 deletions

View File

@@ -153,8 +153,11 @@ bool WacomTablet::init(HWND hWnd)
void WacomTablet::terminate()
{
gpWTClose(g_hCtx);
UnloadWintab();
if (gpWTClose)
{
gpWTClose(g_hCtx);
UnloadWintab();
}
}
void WacomTablet::handle_message(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam)