aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/callbacks.c1
-rw-r--r--hardinfo2/shell.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c
index 87c29e2b..775475d9 100644
--- a/hardinfo2/callbacks.c
+++ b/hardinfo2/callbacks.c
@@ -195,6 +195,7 @@ void cb_about()
"",
"Contributors:",
"Agney Lopes Roth Ferraz",
+ "Andrey Esin",
"SCSI support by Pascal F. Martin",
"",
"Based on work by:",
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c
index e415f8ec..cf3b776d 100644
--- a/hardinfo2/shell.c
+++ b/hardinfo2/shell.c
@@ -988,7 +988,8 @@ static void update_progress()
if (shell->_order_type == SHELL_ORDER_ASCENDING)
cur = 100 - cur + maxp;
- tmp = g_strdup_printf("%d", (int)floatval);
+ tmp = g_strdup_printf("%.2f", floatval);
+ tmp = strreplace(tmp, ",", '.');
gtk_tree_store_set(store, &iter, INFO_TREE_COL_PROGRESS, cur,
INFO_TREE_COL_VALUE, tmp, -1);
g_free(tmp);