mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
fix for sure this time
This commit is contained in:
parent
695cd9ab52
commit
b5f010f0bb
@ -267,8 +267,8 @@ namespace ClassicalSharp.Gui.Widgets {
|
||||
for (; i < total && chars[i] != ' '; i++) {
|
||||
// Is this character the start of a line
|
||||
bool isBeg = false;
|
||||
for (int j = 0; j < lines.Length; i++) {
|
||||
if (j == begs[j]) { isBeg = true; break; }
|
||||
for (int j = 0; j < lines.Length; j++) {
|
||||
if (i == begs[j]) { isBeg = true; break; }
|
||||
}
|
||||
|
||||
// Definitely not a multilined URL
|
||||
|
@ -2342,8 +2342,8 @@ Int32 TextGroupWidget_UrlEnd(UChar* chars, Int32 total, Int32* begs, Int32 i) {
|
||||
for (; i < total && chars[i] != ' '; i++) {
|
||||
/* Is this character the start of a line */
|
||||
bool isBeg = false;
|
||||
for (j = 0; j < lines.Length; i++) {
|
||||
if (j == begs[j]) { isBeg = true; break; }
|
||||
for (j = 0; j < lines.Length; j++) {
|
||||
if (i == begs[j]) { isBeg = true; break; }
|
||||
}
|
||||
|
||||
/* Definitely not a multilined URL */
|
||||
|
Loading…
x
Reference in New Issue
Block a user