%g is no good :/
menu.c screen.c:
	float -> int cleanup for scr_viewsize
vid_glx.c:
	remove unused vid_mode cvar
This commit is contained in:
Bill Currie 2000-10-21 21:08:04 +00:00
parent 0e950c65f5
commit 499eaa2a7d
5 changed files with 4 additions and 7 deletions

View file

@ -237,7 +237,7 @@ void Cvar_SetValue (cvar_t *var, float value)
char val[32];
int i;
sprintf (val, "%g", value);
sprintf (val, "%f", value);
for (i=strlen(val)-1 ; i>0 && val[i]=='0' && val[i-1]!='.' ; i--)
{
val[i] = 0;