diff --git a/src/images/aseprite.cpp b/src/images/aseprite.cpp index b346156..7c51534 100644 --- a/src/images/aseprite.cpp +++ b/src/images/aseprite.cpp @@ -308,8 +308,7 @@ void Aseprite::parse_palette(Stream& stream, int frame) for (int p = 0, len = static_cast(end - start) + 1; p < len; p++) { auto hasName = stream.read(Endian::Little); - - palette[start + p] = stream.read(Endian::Little); + palette[start + p] = stream.read(Endian::Little); if (hasName & 0xF000) { @@ -334,7 +333,7 @@ void Aseprite::parse_user_data(Stream& stream, int frame) // has color if (flags & (1 << 1)) - m_last_userdata->color = stream.read(Endian::Little); + m_last_userdata->color = stream.read(Endian::Little); } }