mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Fixed warning.
This commit is contained in:
parent
a0fed6eeb1
commit
07d0f56696
1 changed files with 1 additions and 1 deletions
2
3rdparty/ocornut-imgui/imgui.cpp
vendored
2
3rdparty/ocornut-imgui/imgui.cpp
vendored
|
@ -7264,7 +7264,7 @@ static bool InputTextEx(const char* label, char* buf, size_t buf_size, const ImV
|
|||
// Count lines + find lines numbers of cursor and select_start
|
||||
int matches_remaining = 0;
|
||||
int matches_line_no[2] = { -1, -999 };
|
||||
const ImWchar* matches_ptr[2];
|
||||
const ImWchar* matches_ptr[2] = {};
|
||||
matches_ptr[0] = text_begin + edit_state.StbState.cursor; matches_remaining++;
|
||||
if (edit_state.StbState.select_start != edit_state.StbState.select_end)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue