Skip to content

Commit

Permalink
Merge pull request #115 from RobLoach/Cplusapi
Browse files Browse the repository at this point in the history
Fix nuklear_console.hpp semicolon
  • Loading branch information
RobLoach authored Nov 14, 2024
2 parents 8a4c83a + deab054 commit bbcbd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuklear_console.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void nk_console_button_set_onclick_handler(nk_console* button, T&& t) {
template <typename T>
nk_console* nk_console_button_onclick_handler(nk_console* parent, const char* text, T&& t) {
nk_console* button = nk_console_button(parent, text);
nk_console_add_event(button, NK_CONSOLE_EVENT_CLICKED, std::move(t))
nk_console_add_event(button, NK_CONSOLE_EVENT_CLICKED, std::move(t));
return button;
}

Expand Down

0 comments on commit bbcbd5d

Please sign in to comment.