Skip to content

Commit

Permalink
IMAGES: Fix TXI empty line reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Jun 10, 2019
1 parent 97c673d commit 9c1d845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/images/txi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void TXI::load(Common::SeekableReadStream &stream) {
Common::UString line = Common::readStringLine(stream, Common::kEncodingASCII);

if (line.empty())
break;
continue;

if (_mode == kModeUpperLeftCoords) {
std::sscanf(line.c_str(), "%f %f %f",
Expand Down

0 comments on commit 9c1d845

Please sign in to comment.