mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Fix editcmd__edit_complete_word_cmd test.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4addae7f12
commit
c7ff7b3671
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
#include "lib/timer.h"
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
#include "lib/charsets.h"
|
#include "lib/charsets.h"
|
||||||
#endif
|
#endif
|
||||||
@ -144,6 +145,7 @@ editcmd_dialog_completion_show__deinit (void)
|
|||||||
static void
|
static void
|
||||||
my_setup (void)
|
my_setup (void)
|
||||||
{
|
{
|
||||||
|
mc_global.timer = mc_timer_new ();
|
||||||
str_init_strings (NULL);
|
str_init_strings (NULL);
|
||||||
|
|
||||||
vfs_init ();
|
vfs_init ();
|
||||||
@ -178,6 +180,7 @@ my_teardown (void)
|
|||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
|
||||||
str_uninit_strings ();
|
str_uninit_strings ();
|
||||||
|
mc_timer_destroy (mc_global.timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user