Skip to content

Commit

Permalink
Small bug fix. Buffer needs to be static.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brotcrunsher committed Nov 30, 2023
1 parent 40372d3 commit be9e47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/ExampleMother/ExampleMother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class MyGame : public bbe::Game
ImGui::Separator();
ImGui::Separator();
ImGui::Separator();
char buffer[128] = {};
static char buffer[128] = {};
ImGui::InputText("Search", buffer, sizeof(buffer));
ImGui::Separator();
ImGui::Separator();
Expand Down

0 comments on commit be9e47b

Please sign in to comment.