diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-05 02:08:11 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-05 02:08:25 -0700 |
commit | 9ea94a3ac33559c956946a5c49aa2536b218e0fc (patch) | |
tree | 08cbe1fc490bc41eb7a700408586d9fcda21468b /web/web_opts.c | |
parent | d5cc3a92f6fd8533b2e1b6240016a402c6fa20ff (diff) | |
download | dartboat-9ea94a3ac33559c956946a5c49aa2536b218e0fc.tar.gz dartboat-9ea94a3ac33559c956946a5c49aa2536b218e0fc.tar.xz |
web: clean up scoreboard and dom functions
Diffstat (limited to 'web/web_opts.c')
-rw-r--r-- | web/web_opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web_opts.c b/web/web_opts.c index f255a83..553e05d 100644 --- a/web/web_opts.c +++ b/web/web_opts.c @@ -69,7 +69,7 @@ void opts_init() char buf[64]; sprintf(buf, "%d", delay_ms); - dom_elem_set_value("#delay", buf); + dom_set_value("#delay", buf); int len = sprintf(buf, "%4.2f", horizontal_stdev); char *dot = strchr(buf, '.'); @@ -80,7 +80,7 @@ void opts_init() *ptr = 0; } } - dom_elem_set_value("#stdev", buf); + dom_set_value("#stdev", buf); } void store_opt(char *opt, char *val) |