diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-20 11:45:37 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-20 11:45:37 +0100 |
commit | f034f695533c133fd208969644b126d2d679c301 (patch) | |
tree | 9618eeb2e245e3938bb3636cf8fe33ba15009083 | |
parent | 9eccaff8b10be26ead4c679ede1a7c3e4a9bbd19 (diff) |
dd
-rw-r--r-- | editor/tests/region-test.cpp | 4 |
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; |