From f48adc2ea00aa209e6850d8662f2e78b38370e49 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 16 Aug 2022 17:39:40 +0200 Subject: [PATCH] Try to fix some dialyzer in mod_webpresence --- mod_webpresence/src/mod_webpresence.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod_webpresence/src/mod_webpresence.erl b/mod_webpresence/src/mod_webpresence.erl index 7cc0c42..99b3af7 100644 --- a/mod_webpresence/src/mod_webpresence.erl +++ b/mod_webpresence/src/mod_webpresence.erl @@ -1103,17 +1103,17 @@ do_stat_table_with(Values, Total) -> do_table_element(L, [N], Perc) -> ?XE(<<"tr">>, [?XE(<<"td">>, [L]), - ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [N]), + ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC(N)), ?XE(<<"td">>, [?XAE(<<"div">>, [{<<"class">>, <<"graph">>}], [?XAC(<<"div">>, - [{<<"class">>, <<"bar">>}, {<<"style">>, ?BC([<<"width: ">>, Perc, <<"%;">>])}], - [] + [{<<"class">>, <<"bar">>}, {<<"style">>, ?BC(["width: ", Perc, "%;"])}], + <<>> )] )] ), - ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [?BC([Perc, <<"%">>])]) + ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC([Perc, "%"])) ]). css_table()->