summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 9f4708e7..6c0337a0 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -656,6 +656,7 @@ static void parseUser_DocumentWidget_(iDocumentWidget *d) {
656 iRegExp *userPats[2] = { new_RegExp("~([^/?]+)", 0), 656 iRegExp *userPats[2] = { new_RegExp("~([^/?]+)", 0),
657 new_RegExp("/users/([^/?]+)", caseInsensitive_RegExpOption) }; 657 new_RegExp("/users/([^/?]+)", caseInsensitive_RegExpOption) };
658 iRegExpMatch m; 658 iRegExpMatch m;
659 init_RegExpMatch(&m);
659 iForIndices(i, userPats) { 660 iForIndices(i, userPats) {
660 if (matchString_RegExp(userPats[i], d->mod.url, &m)) { 661 if (matchString_RegExp(userPats[i], d->mod.url, &m)) {
661 setRange_String(d->titleUser, capturedRange_RegExpMatch(&m, 1)); 662 setRange_String(d->titleUser, capturedRange_RegExpMatch(&m, 1));