Minor readability tweak

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@710 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Sander van Dijk 2012-09-05 06:07:06 +00:00
parent 57deb8c9d7
commit eab83a0f3d

View file

@ -1120,7 +1120,7 @@ void M_Options_Draw (void)
// OPT_SCALE:
M_Print (16, 32 + 8*OPT_SCALE, " Scale");
l = ceil(vid.width / 32.0) / 10;
r = l > 1 ? (scr_conscale.value - 1) / (l - 1) : 0;
r = l - 1 > 0 ? (scr_conscale.value - 1) / (l - 1) : 0;
M_DrawSlider (220, 32 + 8*OPT_SCALE, r);
// OPT_SCRSIZE: