* fix minor bug

This commit is contained in:
Reinhard Pointner 2011-11-20 20:59:11 +00:00
parent 210a8c0388
commit 4424fc4daa
1 changed files with 1 additions and 1 deletions

View File

@ -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]");
}