From: Holger Schemel Date: Tue, 6 Jun 2023 21:00:38 +0000 (+0200) Subject: fixed drawing (maybe redefined) empty space around MM style level in editor X-Git-Tag: 4.3.7.0~51 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4edfaaa946ef111efda66f0ecbb0d3d8279ec0a2;p=rocksndiamonds.git fixed drawing (maybe redefined) empty space around MM style level in editor --- diff --git a/src/editor.c b/src/editor.c index 96bb61e3..21fd262d 100644 --- a/src/editor.c +++ b/src/editor.c @@ -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