fixed drawing (maybe redefined) empty space around MM style level in editor
authorHolger Schemel <info@artsoft.org>
Tue, 6 Jun 2023 21:00:38 +0000 (23:00 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 6 Jun 2023 21:00:38 +0000 (23:00 +0200)
src/editor.c

index 96bb61e3998c71c480d1590e94dc567dafab34c3..21fd262db007361c6fccb6bbaf5a90166b7aafd7 100644 (file)
@@ -8917,8 +8917,8 @@ static void AdjustDrawingAreaGadgets(void)
 
   if (suppressBorderElement())
   {
-    ed_xsize = max_ed_fieldx;
-    ed_ysize = max_ed_fieldy;
+    ed_xsize = lev_fieldx;
+    ed_ysize = lev_fieldy;
   }
 
   // check if we need any scrollbars