diff --git a/gtk/torrent-cell-renderer.c b/gtk/torrent-cell-renderer.c index 5e6273701..00ba332b5 100644 --- a/gtk/torrent-cell-renderer.c +++ b/gtk/torrent-cell-renderer.c @@ -189,7 +189,7 @@ getShortStatusString( const tr_stat * torStat, case TR_STATUS_DOWNLOAD: case TR_STATUS_SEED: { - char buf[128]; + char buf[512]; if( torStat->activity != TR_STATUS_DOWNLOAD ) { tr_strlratio( buf, torStat->ratio, sizeof( buf ) ); diff --git a/gtk/tr-window.c b/gtk/tr-window.c index 830f0d9a9..4ff88311d 100644 --- a/gtk/tr-window.c +++ b/gtk/tr-window.c @@ -585,7 +585,7 @@ onAskTrackerQueryTooltip( GtkWidget * widget UNUSED, } else { - char buf[128]; + char buf[512]; char timebuf[64]; const int seconds = maxTime - now; @@ -1082,7 +1082,7 @@ updateTorrentCount( PrivateData * p ) { if( p && p->core ) { - char buf[128]; + char buf[512]; const int torrentCount = gtk_tree_model_iter_n_children( tr_core_model( p->core ), NULL ); const int visibleCount = gtk_tree_model_iter_n_children( @@ -1108,7 +1108,7 @@ static void updateStats( PrivateData * p ) { const char * pch; - char up[32], down[32], ratio[32], buf[128]; + char up[32], down[32], ratio[32], buf[512]; struct tr_session_stats stats; tr_session * session = tr_core_session( p->core );