summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSadoon AlBader <sadoon@soulserv.xyz>2021-09-16 15:06:39 +0300
committerrafa_99 <raroma09@gmail.com>2021-10-15 22:53:33 +0100
commit55f0fd5f8c34488f5a0b240d24d84c1bedd56e79 (patch)
treee331450a1afa4b2ef35a113005f251296f8f3e32 /src/main.c
parentdbe7f1c507d1408b3f1754e4992a2fb545b03c2a (diff)
change scroll_percent from guint to guint16
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e3f8370..89aae82 100644
--- a/src/main.c
+++ b/src/main.c
@@ -660,7 +660,7 @@ void vb_statusbar_update(Client *c)
} else if (c->state.scroll_percent == 100) {
g_string_append(status, " Bot");
} else {
- g_string_append_printf(status, " %d%%", c->state.scroll_percent);
+ g_string_append_printf(status, " %hu%%", c->state.scroll_percent);
}
gtk_label_set_text(GTK_LABEL(c->statusbar.right), status->str);