791c23f93b
measurement and allocation.
22 lines
870 B
Plaintext
22 lines
870 B
Plaintext
$OpenBSD: patch-gtk_details_c,v 1.4 2008/12/27 15:54:43 naddy Exp $
|
|
--- gtk/details.c.orig Wed Dec 3 00:43:55 2008
|
|
+++ gtk/details.c Thu Dec 4 18:09:25 2008
|
|
@@ -497,7 +497,7 @@ fmtpeercount( GtkWidget * l,
|
|
else
|
|
{
|
|
char str[16];
|
|
- g_snprintf( str, sizeof str, "%'d", count );
|
|
+ g_snprintf( str, sizeof str, "%d", count );
|
|
gtk_label_set_text( GTK_LABEL( l ), str );
|
|
}
|
|
}
|
|
@@ -908,7 +908,7 @@ info_page_new( tr_torrent * tor )
|
|
hig_workarea_add_section_title ( t, &row, _( "Details" ) );
|
|
|
|
g_snprintf( countStr, sizeof( countStr ),
|
|
- ngettext( "%'d Piece", "%'d Pieces", info->pieceCount ),
|
|
+ ngettext( "%d Piece", "%d Pieces", info->pieceCount ),
|
|
info->pieceCount );
|
|
tr_strlsize( sizeStr, info->pieceSize, sizeof( sizeStr ) );
|
|
g_snprintf( buf, sizeof( buf ),
|