summaryrefslogtreecommitdiffhomepage
path: root/editor/inspect-draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/inspect-draw.cpp')
-rw-r--r--editor/inspect-draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/inspect-draw.cpp b/editor/inspect-draw.cpp
index d5474b8b..ce1e3396 100644
--- a/editor/inspect-draw.cpp
+++ b/editor/inspect-draw.cpp
@@ -33,7 +33,7 @@ void app::draw_inspector()
}
auto& e = *eʹ;
- char buf2[10], buf3[128], buf[sizeof buf2 + sizeof buf3 - 1];
+ char buf2[10], buf3[128], buf[sizeof buf2 + sizeof buf3 + 3 - 1];
ImGui::SetNextWindowSize({375*dpi[0], 0});
entity_inspector_name(buf2, e.id);
entity_friendly_name(buf3, sizeof buf3, e);