* src/boxes.c (configure_vfs) [!USE_NETCODE]: Fix off-by-one error.
Этот коммит содержится в:
родитель
389df305eb
Коммит
5d8f17a9c2
@ -1,3 +1,7 @@
|
|||||||
|
2006-02-28 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* boxes.c (configure_vfs) [!USE_NETCODE]: Fix off-by-one error.
|
||||||
|
|
||||||
2006-02-24 Pavel Tsekov <ptsekov@gmx.net>
|
2006-02-24 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
* subshell.c (synchronize): Do not discard user input if the panels
|
* subshell.c (synchronize): Do not discard user input if the panels
|
||||||
|
@ -698,7 +698,7 @@ tree_box (const char *current_dir)
|
|||||||
|
|
||||||
#if defined(USE_NETCODE)
|
#if defined(USE_NETCODE)
|
||||||
#define VFSY 17
|
#define VFSY 17
|
||||||
#define VFS_WIDGETBASE 9
|
#define VFS_WIDGETBASE 10
|
||||||
#else
|
#else
|
||||||
#define VFSY 8
|
#define VFSY 8
|
||||||
#define VFS_WIDGETBASE 0
|
#define VFS_WIDGETBASE 0
|
||||||
@ -773,7 +773,7 @@ configure_vfs (void)
|
|||||||
confvfs_widgets[5].text = ftpfs_proxy_host;
|
confvfs_widgets[5].text = ftpfs_proxy_host;
|
||||||
#endif
|
#endif
|
||||||
g_snprintf (buffer2, sizeof (buffer2), "%i", vfs_timeout);
|
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) {
|
if (quick_dialog (&confvfs_dlg) != B_CANCEL) {
|
||||||
vfs_timeout = atoi (ret_timeout);
|
vfs_timeout = atoi (ret_timeout);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user