mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 15:21:48 +00:00
Fix a warning. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6406 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
82fd56b464
commit
3e8c80a3d3
1 changed files with 1 additions and 1 deletions
|
@ -4466,7 +4466,7 @@ static int32_t M_RunMenu_Menu(Menu_t *cm, MenuMenu_t *menu, MenuEntry_t *current
|
||||||
Bsprintf(tempbuf, "%.2f", *object->variable);
|
Bsprintf(tempbuf, "%.2f", *object->variable);
|
||||||
break;
|
break;
|
||||||
case DisplayTypePercent:
|
case DisplayTypePercent:
|
||||||
Bsprintf(tempbuf, "%d%%", Blrintf(*object->variable * 100.f / onehundredpercent));
|
Bsprintf(tempbuf, "%ld%%", lrintf(*object->variable * 100.f / onehundredpercent));
|
||||||
break;
|
break;
|
||||||
case DisplayTypeNormalizedDecimal:
|
case DisplayTypeNormalizedDecimal:
|
||||||
Bsprintf(tempbuf, "%.2f", *object->variable / onehundredpercent);
|
Bsprintf(tempbuf, "%.2f", *object->variable / onehundredpercent);
|
||||||
|
|
Loading…
Reference in a new issue