* fix minor bug
This commit is contained in:
parent
210a8c0388
commit
4424fc4daa
|
@ -55,7 +55,7 @@ public class SubStationAlphaReader extends SubtitleReader {
|
|||
// move to [Events] sections
|
||||
boolean found = false;
|
||||
|
||||
while (!found && scanner.hasNext()) {
|
||||
while (!found && scanner.hasNextLine()) {
|
||||
found = scanner.nextLine().equals("[Events]");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue