Fix editcmd__edit_complete_word_cmd test.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-10-03 13:44:44 +04:00
parent 4addae7f12
commit c7ff7b3671

View File

@ -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);
} }
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */