oops - #if 0'd section fixed... not real one in theme! :)

SVN revision: 75437
This commit is contained in:
Carsten Haitzler 2012-08-19 23:26:18 +00:00
parent 25aa4e5a89
commit 890f7695b7
1 changed files with 9 additions and 3 deletions

View File

@ -14147,9 +14147,15 @@ collections {
new text[100];
f = getarg(2);
if (f < 1000000) snprintf(text, 100, "%i", f / 1000);
else snprintf(text, 100, "%i.%i", f / 1000000,
(f % 1000000) / 100000);
if (f < 1000000) {
f += 500;
snprintf(text, 100, "%i", f / 1000);
}
else {
f += 50000;
snprintf(text, 100, "%i.%i", f / 1000000,
(f % 1000000) / 100000);
}
set_text(PART:"readout", text);
ani = get_int(cur_freq_anim);