X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=d7a2b63e6883d10a6607eea3584561b16f866365;hb=753225dadc348905deb53998f3512293feeb13f2;hp=982bdf90fc87f91c03585d7c03604bf7fc6f8647;hpb=5a9bcb94e661b4b72b7e3c13d41720053764410d;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 982bdf90..d7a2b63e 100644 --- a/src/screens.c +++ b/src/screens.c @@ -317,6 +317,9 @@ static struct } volumes_list[] = { { 0, "0 %" }, + { 1, "1 %" }, + { 2, "2 %" }, + { 5, "5 %" }, { 10, "10 %" }, { 20, "20 %" }, { 30, "30 %" }, @@ -3298,8 +3301,8 @@ static void clearMenuListArea() int scrollbar_xpos = mSX + SC_SCROLLBAR_XPOS + menu.scrollbar_xoffset; /* correct scrollbar position if placed outside menu (playfield) area */ - if (scrollbar_xpos > mSX + SC_SCROLLBAR_XPOS) - scrollbar_xpos = mSX + SC_SCROLLBAR_XPOS; + if (scrollbar_xpos > SX + SC_SCROLLBAR_XPOS) + scrollbar_xpos = SX + SC_SCROLLBAR_XPOS; /* clear menu list area, but not title or scrollbar */ DrawBackground(mSX, mSY + MENU_SCREEN_START_YPOS * 32,