diff options
Diffstat (limited to 'baobab/src/baobab-remote-connect-dialog.c')
-rw-r--r-- | baobab/src/baobab-remote-connect-dialog.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c index e892e06d..9557fb2c 100644 --- a/baobab/src/baobab-remote-connect-dialog.c +++ b/baobab/src/baobab-remote-connect-dialog.c @@ -564,10 +564,6 @@ port_insert_text (GtkEditable *editable, { int pos; - if (new_text_length < 0) { - new_text_length = strlen (new_text); - } - /* Only allow digits to be inserted as port number */ for (pos = 0; pos < new_text_length; pos++) { if (!g_ascii_isdigit (new_text[pos])) { |