https://bugs.kde.org/show_bug.cgi?id=421073
Bug ID: 421073 Summary: While loop inside bufferfragment_p.h which execute only max once Product: krita Version: git master Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: mikrutra...@protonmail.com Target Milestone: --- ```c while (*start < len) { int end = indexOf(c, *start); if (end == -1) { end = len; } BufferFragment line(d + (*start), end - (*start)); *start = end + 1; return line; } ``` https://invent.kde.org/kde/krita/-/blob/master/libs/resources/bufferfragment_p.h#L92-100 -- You are receiving this mail because: You are watching all bug changes.