diff options
author | Ted Gould <ted@gould.cx> | 2010-08-04 20:19:29 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-04 20:19:29 -0500 |
commit | 1f04ea2f899a2922e9c625fd629463c4dd16aff5 (patch) | |
tree | 87ac2a3a3ede192a4488054f80621c94a523ab11 | |
parent | f2b808303f336aad4ee2663efb80a096dd61dcbd (diff) | |
download | libayatana-appindicator-1f04ea2f899a2922e9c625fd629463c4dd16aff5.tar.gz libayatana-appindicator-1f04ea2f899a2922e9c625fd629463c4dd16aff5.tar.bz2 libayatana-appindicator-1f04ea2f899a2922e9c625fd629463c4dd16aff5.zip |
Make sure we get to 100
-rw-r--r-- | example/simple-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple-client.c b/example/simple-client.c index d756988..20cb281 100644 --- a/example/simple-client.c +++ b/example/simple-client.c @@ -103,7 +103,7 @@ static gboolean percent_change (gpointer user_data) { percentage = (percentage + 1) % 100; - gchar * percentstr = g_strdup_printf("%d%%", percentage); + gchar * percentstr = g_strdup_printf("%d%%", percentage + 1); app_indicator_set_label (APP_INDICATOR(user_data), percentstr, "100%"); g_free(percentstr); return TRUE; |