[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 02/08: Fix compile error when debug is enabled

noreply at xfce.org noreply at xfce.org
Mon Dec 31 23:17:11 CET 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-battery-plugin.

commit b0249556bf2e3ce8cfc19a82d1173c6157fa6c78
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Dec 31 17:55:08 2018 -0300

    Fix compile error when debug is enabled
---
 panel-plugin/battery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index e45a458..6ce6f52 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -252,7 +252,7 @@ update_apm_status(t_battmon *battmon)
     }
 #endif
 
-    DBG("method=%d, acline=%d, time_remaining=%d, charge=%d", battmon->method, acline, time_remaining, charge);
+    DBG("method=%d, acline=%d, time_remaining=%d, charge=%d", method, acline, time_remaining, charge);
 
     charge = CLAMP (charge, 0, 100);
     gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(battmon->battstatus), charge / 100.0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list