patch-src_client_components_conversation-find-bar_vala 976 B

1234567891011121314151617181920
  1. $OpenBSD: patch-src_client_components_conversation-find-bar_vala,v 1.3 2017/04/13 07:10:21 jasper Exp $
  2. Fix build with vala 0.36:
  3. error: Argument 1: Cannot convert from `uint' to `int'
  4. --- src/client/components/conversation-find-bar.vala.orig Thu Apr 13 08:57:10 2017
  5. +++ src/client/components/conversation-find-bar.vala Thu Apr 13 09:00:07 2017
  6. @@ -211,9 +211,9 @@ public class ConversationFindBar : Gtk.Layout {
  7. if (matches > 0) {
  8. if (!wrapped)
  9. - content += ngettext("%i match", "%i matches", matches).printf(matches);
  10. + content += ngettext("%i match", "%i matches", matches).printf((int) matches);
  11. else
  12. - content += ngettext("%i match (wrapped)", "%i matches (wrapped)", matches).printf(matches);
  13. + content += ngettext("%i match (wrapped)", "%i matches (wrapped)", matches).printf((int) matches);
  14. } else {
  15. content += _("not found");
  16. }