mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-19 12:35:52 -04:00
Fix issue with two multilined links, clicking on second link would use first url.
This commit is contained in:
parent
29696560be
commit
ec27a52fb1
@ -139,7 +139,7 @@ namespace ClassicalSharp.Gui {
|
||||
return 2;
|
||||
}
|
||||
|
||||
prevFlags = 0;
|
||||
prevFlags = LinkFlags.NewLink;
|
||||
int nextHttp = line.IndexOf( "http://", start );
|
||||
int nextHttps = line.IndexOf( "https://", start );
|
||||
return nextHttp == -1 ? nextHttps : nextHttp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user