(mc_search_prepare_replace_str2): make replace_str const.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-12-30 17:34:17 +03:00
parent 589d0bea0b
commit 2c7dfe7341
2 changed files with 2 additions and 2 deletions

View File

@ -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); 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); 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 *); gboolean mc_search_is_fixed_search_str (mc_search_t *);

View File

@ -366,7 +366,7 @@ mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
char * 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 *ret;
GString *replace_str2; GString *replace_str2;