mirror of https://github.com/MidnightCommander/mc
(mc_search_prepare_replace_str2): make replace_str const.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
589d0bea0b
commit
2c7dfe7341
|
@ -144,7 +144,7 @@ gboolean mc_search_is_type_avail (mc_search_type_t);
|
|||
const mc_search_type_str_t *mc_search_types_list_get (size_t * num);
|
||||
|
||||
GString *mc_search_prepare_replace_str (mc_search_t * mc_search, GString * replace_str);
|
||||
char *mc_search_prepare_replace_str2 (mc_search_t *, char *);
|
||||
char *mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str);
|
||||
|
||||
gboolean mc_search_is_fixed_search_str (mc_search_t *);
|
||||
|
||||
|
|
|
@ -366,7 +366,7 @@ mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str
|
|||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
char *
|
||||
mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, char *replace_str)
|
||||
mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str)
|
||||
{
|
||||
GString *ret;
|
||||
GString *replace_str2;
|
||||
|
|
Loading…
Reference in New Issue