File diff r11421:d3a3c37cd033 → r11422:1daa77b60959
src/settings_gui.cpp
Show inline comments
 
@@ -849,7 +849,7 @@ uint SettingEntry::Draw(GameSettings *se
 
		case SEF_SUBTREE_KIND:
 
			if (cur_row >= first_row) {
 
				DrawSprite((this->d.sub.folded ? SPR_CIRCLE_FOLDED : SPR_CIRCLE_UNFOLDED), PAL_NONE, x, y);
 
				DrawStringTruncated(x + 12, y, this->d.sub.title, TC_FROMSTRING, max_x - x - 12);
 
				DrawString(x + 12, max_x, y, this->d.sub.title, TC_FROMSTRING);
 
			}
 
			cur_row++;
 
			if (!this->d.sub.folded) {
 
@@ -916,7 +916,7 @@ void SettingEntry::DrawSetting(GameSetti
 
			SetDParam(1, value);
 
		}
 
	}
 
	DrawStringTruncated(x + 25, y, (sdb->str) + disabled, TC_FROMSTRING, max_x - x - 25);
 
	DrawString(x + 25, max_x, y, (sdb->str) + disabled, TC_FROMSTRING);
 
}