[Xfce4-commits] <xfce4-sensors-plugin:master> print voltages with three decmal places

Fabian noreply at xfce.org
Fri Dec 28 20:44:01 CET 2012


Updating branch refs/heads/master
         to 6371ca67a41477929073cdb26d354292df311d04 (commit)
       from 04f61c2a055e1d903f5f47ed39d03915028f516e (commit)

commit 6371ca67a41477929073cdb26d354292df311d04
Author: Fabian <timystery at arcor.de>
Date:   Fri Dec 28 20:42:37 2012 +0100

    print voltages with three decmal places

 lib/sensors-interface-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sensors-interface-common.c b/lib/sensors-interface-common.c
index aaf1818..54a97f8 100644
--- a/lib/sensors-interface-common.c
+++ b/lib/sensors-interface-common.c
@@ -149,7 +149,7 @@ format_sensor_value (t_tempscale scale, t_chipfeature *chipfeature,
            break;
 
         case VOLTAGE:
-               *help = g_strdup_printf(_("%+.2f V"), sensorFeature);
+               *help = g_strdup_printf(_("%+.3f V"), sensorFeature);
                break;
 
         case ENERGY:


More information about the Xfce4-commits mailing list