diff --git a/src/ChangeLog b/src/ChangeLog index a0f2c1378..d119327a1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-02-28 Pavel Tsekov + + * boxes.c (configure_vfs) [!USE_NETCODE]: Fix off-by-one error. + 2006-02-24 Pavel Tsekov * subshell.c (synchronize): Do not discard user input if the panels diff --git a/src/boxes.c b/src/boxes.c index 0f48eeda1..eabe031fb 100644 --- a/src/boxes.c +++ b/src/boxes.c @@ -698,7 +698,7 @@ tree_box (const char *current_dir) #if defined(USE_NETCODE) #define VFSY 17 -#define VFS_WIDGETBASE 9 +#define VFS_WIDGETBASE 10 #else #define VFSY 8 #define VFS_WIDGETBASE 0 @@ -773,7 +773,7 @@ configure_vfs (void) confvfs_widgets[5].text = ftpfs_proxy_host; #endif g_snprintf (buffer2, sizeof (buffer2), "%i", vfs_timeout); - confvfs_widgets [4 + VFS_WIDGETBASE].text = buffer2; + confvfs_widgets [3 + VFS_WIDGETBASE].text = buffer2; if (quick_dialog (&confvfs_dlg) != B_CANCEL) { vfs_timeout = atoi (ret_timeout);