mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 22:53:22 +08:00
Fix typo
This commit is contained in:
parent
471103fd10
commit
c9e14c8f06
@ -78,7 +78,7 @@ namespace osu.Game.Online.Chat
|
||||
//since we just changed the line display text, offset any already processed links.
|
||||
result.Links.ForEach(l => l.Index -= l.Index > index ? m.Length - displayText.Length : 0);
|
||||
|
||||
var details = getLinkDetails(linkText);
|
||||
var details = GetLinkDetails(linkText);
|
||||
result.Links.Add(new Link(linkText, index, displayText.Length, linkActionOverride ?? details.Action, details.Argument));
|
||||
|
||||
//adjust the offset for processing the current matches group.
|
||||
@ -95,7 +95,7 @@ namespace osu.Game.Online.Chat
|
||||
var link = m.Groups["link"].Value;
|
||||
var indexLength = link.Length;
|
||||
|
||||
var details = getLinkDetails(link);
|
||||
var details = GetLinkDetails(link);
|
||||
result.Links.Add(new Link(link, index, indexLength, details.Action, details.Argument));
|
||||
}
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ namespace osu.Game
|
||||
Text = @"This link type is not yet supported!",
|
||||
Icon = FontAwesome.Solid.LifeRing,
|
||||
});
|
||||
LinkDetails linkDetails = getLinkDetails(url);
|
||||
LinkDetails linkDetails = GetLinkDetails(url);
|
||||
Schedule(() => LinkUtils.HandleLink(url, linkDetails.Action, linkDetails.Argument, this, channelManager, showNotImplementedError));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user