summaryrefslogtreecommitdiff
path: root/src/core/iregex-regexh.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-06-05 11:41:50 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2017-06-05 13:46:43 +0200
commit4edfccfce794d4c10b2a92c02fe982bb089c6629 (patch)
tree936af89080c7b50d112d2567e5d5574fdfe75d5f /src/core/iregex-regexh.c
parent48899a123d68051fbc73acb8ad151e89fdcb6b31 (diff)
downloadirssi-4edfccfce794d4c10b2a92c02fe982bb089c6629.zip
get rid of new_text
Diffstat (limited to 'src/core/iregex-regexh.c')
-rw-r--r--src/core/iregex-regexh.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/iregex-regexh.c b/src/core/iregex-regexh.c
index aabe44f6..897eb7e2 100644
--- a/src/core/iregex-regexh.c
+++ b/src/core/iregex-regexh.c
@@ -47,8 +47,7 @@ gboolean
i_regex_match (const Regex *regex,
const gchar *string,
GRegexMatchFlags match_options,
- MatchInfo **match_info,
- const gchar **new_string)
+ MatchInfo **match_info)
{
int groups;
int eflags;
@@ -75,8 +74,7 @@ gboolean
i_match_info_fetch_pos (const MatchInfo *match_info,
gint match_num,
gint *start_pos,
- gint *end_pos,
- const gchar *new_string)
+ gint *end_pos)
{
if (start_pos != NULL)
*start_pos = match_info[match_num].rm_so;