diff options
Diffstat (limited to 'lib/ss/get_readline.c')
-rw-r--r-- | lib/ss/get_readline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ss/get_readline.c b/lib/ss/get_readline.c index 70099b09..16679a30 100644 --- a/lib/ss/get_readline.c +++ b/lib/ss/get_readline.c @@ -25,7 +25,7 @@ static void ss_release_readline(ss_data *info) #ifdef HAVE_DLOPEN if (!info->readline_handle) return; - + info->readline = 0; info->add_history = 0; info->redisplay = 0; @@ -46,7 +46,7 @@ void ss_get_readline(int sci_idx) const char **t, *libpath = 0; char *tmp, *cp, *next; char **(**completion_func)(const char *, int, int); - + if (info->readline_handle) return; @@ -55,7 +55,7 @@ void ss_get_readline(int sci_idx) libpath = DEFAULT_LIBPATH; if (*libpath == 0 || !strcmp(libpath, "none")) return; - + tmp = malloc(strlen(libpath)+1); if (!tmp) return; @@ -94,4 +94,4 @@ void ss_get_readline(int sci_idx) #endif } - + |