Minor readability tweak

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@710 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-09-05 06:07:06 +00:00
parent 06978281f0
commit 37d571bffb

View file

@ -1120,7 +1120,7 @@ void M_Options_Draw (void)
// OPT_SCALE: // OPT_SCALE:
M_Print (16, 32 + 8*OPT_SCALE, " Scale"); M_Print (16, 32 + 8*OPT_SCALE, " Scale");
l = ceil(vid.width / 32.0) / 10; 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); M_DrawSlider (220, 32 + 8*OPT_SCALE, r);
// OPT_SCRSIZE: // OPT_SCRSIZE: