shithub: puzzles

Download patch

ref: f7fa9d45f5644576b8a38cd9e6dd7838ad286127
parent: 7e7545cb56cf44aa42582561a2b134ae6cbb633b
author: Ben Harris <bjh21@bjh21.me.uk>
date: Fri Aug 11 19:52:53 EDT 2023

Solo: use new move_cursor() features

--- a/solo.c
+++ b/solo.c
@@ -4696,10 +4696,9 @@
         }
     }
     if (IS_CURSOR_MOVE(button)) {
-        move_cursor(button, &ui->hx, &ui->hy, cr, cr, false, NULL);
-        ui->hshow = true;
         ui->hcursor = true;
-        return MOVE_UI_UPDATE;
+        return move_cursor(button, &ui->hx, &ui->hy, cr, cr, false,
+                           &ui->hshow);
     }
     if (ui->hshow &&
         (button == CURSOR_SELECT)) {