From 0d9be2925b0eba722629ae4e9d88fc90b926748f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 7 Mar 2015 19:12:51 +0100 Subject: update bgfx (nw) --- 3rdparty/bgfx/examples/common/imgui/imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty/bgfx/examples/common/imgui/imgui.cpp') diff --git a/3rdparty/bgfx/examples/common/imgui/imgui.cpp b/3rdparty/bgfx/examples/common/imgui/imgui.cpp index 7fa19965b07..cdd918c0fbb 100644 --- a/3rdparty/bgfx/examples/common/imgui/imgui.cpp +++ b/3rdparty/bgfx/examples/common/imgui/imgui.cpp @@ -1405,7 +1405,7 @@ struct Imgui { const size_t cursor = size_t(strlen(_str)); - if (m_char == 0x08) //backspace + if (m_char == 0x08 || m_char == 0x7f) //backspace or delete { _str[cursor-1] = '\0'; } -- cgit v1.2.3-70-g09d2