summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/tests/region-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp
index ca8addf3..46255eb4 100644
--- a/editor/tests/region-test.cpp
+++ b/editor/tests/region-test.cpp
@@ -122,10 +122,10 @@ bool region_test::handle_mouse_click(app& a, const mouse_button_event& e, bool i
{
if (e.button == mouse_button_left && is_down)
{
- if (auto pt_ = a.cursor_state().point())
+ if (auto ptʹ = a.cursor_state().point())
{
pending = {
- .c = pt_->chunk3(),
+ .c = ptʹ->chunk3(),
.exists = true,
};
return true;