$OpenBSD: patch-gtk_makemeta-ui_c,v 1.2 2008/07/09 19:43:42 naddy Exp $ --- gtk/makemeta-ui.c.orig Fri May 9 21:00:55 2008 +++ gtk/makemeta-ui.c Wed May 14 17:50:12 2008 @@ -212,9 +212,9 @@ refreshFromBuilder( MakeMetaUI * ui ) tr_strlsize( sizeStr, builder->totalSize, sizeof(sizeStr) ); g_snprintf( buf, sizeof( buf ), /* %1$s is the torrent size - %2$'d is its number of files */ - ngettext( "%1$s; %2$'d File", - "%1$s; %2$'d Files", builder->fileCount ), + %2$d is its number of files */ + ngettext( "%1$s; %2$d File", + "%1$s; %2$d Files", builder->fileCount ), sizeStr, builder->fileCount ); } gtk_label_set_markup ( GTK_LABEL(ui->size_lb), buf ); @@ -226,8 +226,8 @@ refreshFromBuilder( MakeMetaUI * ui ) g_snprintf( buf, sizeof( buf ), /* %1$'s is number of pieces; %2$s is how big each piece is */ - ngettext( "%1$'d Piece @ %2$s", - "%1$'d Pieces @ %2$s", + ngettext( "%1$d Piece @ %2$s", + "%1$d Pieces @ %2$s", builder->pieceCount ), builder->pieceCount, sizeStr ); }