ref: fdd7d0be76013a747dd2c9f3bf73310ffc0f0705
parent: d83563a5ff7b654ce35011bcea875c1e681537bb
author: Sigrid Haflínudóttir <[email protected]>
date: Sun Jan 12 13:58:06 EST 2020
uiglue: button/checkbox ctl reader: read as float
--- a/uiglue.c
+++ b/uiglue.c
@@ -31,7 +31,7 @@
return s;
case UIButton:
case UICheckBox:
- snprint(s, sz, "%s\t%d\n", t, !!*ui->zone);
+ snprint(s, sz, "%s\t%g\n", t, *ui->zone);
return s;
case UIVSlider:
case UIHSlider: