diff --git a/wx/torrent-list.cc b/wx/torrent-list.cc index 81affba5a..5425bcff0 100644 --- a/wx/torrent-list.cc +++ b/wx/torrent-list.cc @@ -247,8 +247,7 @@ TorrentListCtrl :: RefreshTorrent( tr_torrent_t * tor, break; case COL_PEERS: - /* FIXME: this is all peers, not just leechers */ - xstr = wxString::Format( _("%d of %d"), s->peersConnected, s->peersTotal ); + xstr = wxString::Format( _("%d of %d"), s->peersConnected, s->leechers ); break; case COL_RATIO: diff --git a/wx/xmission.cc b/wx/xmission.cc index bd4358ed3..da6f407f7 100755 --- a/wx/xmission.cc +++ b/wx/xmission.cc @@ -576,7 +576,9 @@ MyFrame :: MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size **/ wxSplitterWindow * hsplit = new wxSplitterWindow( this ); +#if wxCHECK_VERSION(2,5,4) hsplit->SetSashGravity( 0.8 ); +#endif wxPanel * row1 = new wxPanel( hsplit, wxID_ANY );