chiark / gitweb /
New name UI_UPDATE for interpret_move's return "".
[sgt-puzzles.git] / netslide.c
index c56e1abd6a822f88560a3bb1d817a7ef31e3d887..d43dc2e0cb7b94e749bd21788c661888c4b2e6ac 100644 (file)
@@ -1079,7 +1079,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
         }
 
         ui->cur_visible = 1;
-        return "";
+        return UI_UPDATE;
     }
 
     if (button == LEFT_BUTTON || button == RIGHT_BUTTON) {
@@ -1093,7 +1093,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
         } else {
             /* 'click' when cursor is invisible just makes cursor visible. */
             ui->cur_visible = 1;
-            return "";
+            return UI_UPDATE;
         }
     } else
         return NULL;