mirror of
https://github.com/lukasabbe/Paste-book-text.git
synced 2026-04-30 10:50:54 +00:00
Fixed last formating problem
This commit is contained in:
@@ -93,8 +93,8 @@ public abstract class WritableBookMixin extends Screen {
|
||||
}
|
||||
}
|
||||
int popedSize = popedElemnt.length();
|
||||
if(popedElemnt.split(" ").length > 0)
|
||||
popedSize++;
|
||||
if(popedElemnt.split(" ").length == 0)
|
||||
popedSize--;
|
||||
return new String[]{substring.toString(), Integer.toString(i-popedSize)};
|
||||
}
|
||||
return new String[]{null, null};
|
||||
|
||||
Reference in New Issue
Block a user