Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent 33c7101 commit b3ecac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b3ecac4

Please sign in to comment.