fixed buggy zoom gadget info text in level editor
[rocksndiamonds.git] / src / editor.c
index a0ea06303c4d44ce0d414084287840b7ce701434..490be2699d6b2374aa3e6d64b898d728d94b9cf2 100644 (file)
@@ -12417,8 +12417,13 @@ static void HandleControlButtons(struct GadgetInfo *gi)
       InitZoomLevelSettings();
 
       if (edit_mode == ED_MODE_DRAWING)
+      {
        DrawDrawingWindow();
 
+       /* redraw zoom gadget info text */
+       PrintEditorGadgetInfoText(level_editor_gadget[id]);
+      }
+
       break;
 
     case GADGET_ID_CUSTOM_COPY_FROM:
@@ -12904,7 +12909,7 @@ void PrintEditorGadgetInfoText(struct GadgetInfo *gi)
       else if (gi->custom_id == GADGET_ID_UNDO)
        sprintf(shortcut, " ('%c/Shift-U')", key);
       else if (gi->custom_id == GADGET_ID_ZOOM)
-       sprintf(shortcut, " ('%c', '0', '+')", key);
+       sprintf(shortcut, " ('%c', '0', '-')", key);
       else
        sprintf(shortcut, " ('%s%c')",
                (key >= 'A' && key <= 'Z' ? "Shift-" : ""), key);