diff --git a/gui.cpp b/gui.cpp index 97c4d54f..cfc45e4c 100644 --- a/gui.cpp +++ b/gui.cpp @@ -28,7 +28,7 @@ void tooltip(HWND hwnd, HWND control, const char* text) { // Get dimensions of the control GetClientRect(control, &tool_info.rect); - SendMessage(hTooltip, TTM_ADDTOOL, 0, (LPARAM)&tool_info); + SendMessage(htooltip, TTM_ADDTOOL, 0, (LPARAM)&tool_info); } void write(const std::string& filename, int value) {