mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 00:38:50 +00:00
bugfix
This commit is contained in:
@ -53,8 +53,8 @@ struct PackedEventView {
|
|||||||
std::string_view b = buf.substr(88);
|
std::string_view b = buf.substr(88);
|
||||||
|
|
||||||
while (b.size()) {
|
while (b.size()) {
|
||||||
bool done = cb(b[0], b.substr(2, (size_t)b[1]));
|
bool ret = cb(b[0], b.substr(2, (size_t)b[1]));
|
||||||
if (done) break;
|
if (!ret) break;
|
||||||
b = b.substr(2 + b[1]);
|
b = b.substr(2 + b[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user