active_con_scale should respect uiscale

This commit is contained in:
Magnus Norddahl 2016-11-16 19:49:46 +01:00
parent 712e032573
commit ae889acaea

View file

@ -157,6 +157,9 @@ int active_con_scale()
{ {
int scale = con_scale; int scale = con_scale;
if (scale <= 0) if (scale <= 0)
{
scale = uiscale;
if (scale == 0)
{ {
scale = CleanXfac - 1; scale = CleanXfac - 1;
if (scale <= 0) if (scale <= 0)
@ -164,6 +167,7 @@ int active_con_scale()
scale = 1; scale = 1;
} }
} }
}
return scale; return scale;
} }