X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=177336f7f5cfa0e90ba9967c81d9bb8b8ea07db1;hb=5a6485f6e5b16c06708c45c2ebb1bfd6d5915c9a;hp=96bb61e3998c71c480d1590e94dc567dafab34c3;hpb=99a872330e763df6ec76e27dd17781bb48c190bd;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 96bb61e3..177336f7 100644 --- a/src/editor.c +++ b/src/editor.c @@ -2465,6 +2465,7 @@ static struct ValueTextInfo options_group_choice_mode[] = { ANIM_LINEAR, "linear" }, { ANIM_PINGPONG, "pingpong" }, { ANIM_PINGPONG2, "pingpong 2" }, + { ANIM_LEVEL_NR, "level number" }, { -1, NULL } }; @@ -8917,8 +8918,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