diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 89d567b0..5bc16fda 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -197,6 +197,7 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li | |||
197 | pattern_ = new_RegExp("=>\\s*([^\\s]+)(\\s.*)?", caseInsensitive_RegExpOption); | 197 | pattern_ = new_RegExp("=>\\s*([^\\s]+)(\\s.*)?", caseInsensitive_RegExpOption); |
198 | } | 198 | } |
199 | iRegExpMatch m; | 199 | iRegExpMatch m; |
200 | init_RegExpMatch(&m); | ||
200 | if (matchRange_RegExp(pattern_, line, &m)) { | 201 | if (matchRange_RegExp(pattern_, line, &m)) { |
201 | iGmLink *link = new_GmLink(); | 202 | iGmLink *link = new_GmLink(); |
202 | setRange_String(&link->url, capturedRange_RegExpMatch(&m, 1)); | 203 | setRange_String(&link->url, capturedRange_RegExpMatch(&m, 1)); |