[gitg] history: Fix printf format strings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] history: Fix printf format strings
- Date: Tue, 1 Nov 2016 18:57:07 +0000 (UTC)
commit ccca933827dbde134c20e8455fae421723eaf5d2
Author: Jürg Billeter <j bitron ch>
Date: Tue Nov 1 19:56:10 2016 +0100
history: Fix printf format strings
gitg/history/gitg-history-refs-list.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gitg/history/gitg-history-refs-list.vala b/gitg/history/gitg-history-refs-list.vala
index c92b110..e5188bc 100644
--- a/gitg/history/gitg-history-refs-list.vala
+++ b/gitg/history/gitg-history-refs-list.vala
@@ -162,15 +162,15 @@ private class RefRow : RefTyped, Gtk.ListBoxRow
{
if (ahead != 0 && behind != 0)
{
- d_ahead_behind.label = _("%d ahead, %d behind").printf(ahead,
behind);
+ d_ahead_behind.label = _("%zu ahead, %zu
behind").printf(ahead, behind);
}
else if (ahead != 0)
{
- d_ahead_behind.label = _("%d ahead").printf(ahead);
+ d_ahead_behind.label = _("%zu ahead").printf(ahead);
}
else
{
- d_ahead_behind.label = _("%d behind").printf(behind);
+ d_ahead_behind.label = _("%zu behind").printf(behind);
}
}
} catch {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]