diff --git a/gtk/details.c b/gtk/details.c index 2ac49f3a0..025eed3cc 100644 --- a/gtk/details.c +++ b/gtk/details.c @@ -1085,7 +1085,6 @@ options_page_new ( TrTorrent * gtor ) uint16_t maxConnectedPeers; int i, row; gboolean b; - GtkAdjustment *a; GtkWidget *t, *w, *tb; tr_torrent * tor = tr_torrent_handle (gtor); diff --git a/gtk/tr-prefs.c b/gtk/tr-prefs.c index 63958393d..7e3e19848 100644 --- a/gtk/tr-prefs.c +++ b/gtk/tr-prefs.c @@ -923,7 +923,7 @@ trackerPage( GObject * core ) w = hig_workarea_add_row( t, &row, s, w, NULL ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w ); - w = new_spin_button( PREF_KEY_PROXY_PORT, core, 0, 65536, 1 ); + w = new_spin_button( PREF_KEY_PROXY_PORT, core, 0, 65535, 1 ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w ); w = hig_workarea_add_row( t, &row, _( "Proxy _port:" ), w, NULL ); page->proxy_widgets = g_slist_append( page->proxy_widgets, w );