Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 144c5eab authored by Adam Lesinski's avatar Adam Lesinski
Browse files

AAPT2: Fix segfault when showing error in 9-patch

Change-Id: I8f457212efc27480758a7157455d98b5e316f772
parent 62e1f489
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1175,7 +1175,7 @@ getout:
    if (errorMsg) {
        std::stringstream err;
        err << "9-patch malformed: " << errorMsg;
        if (!errorEdge) {
        if (errorEdge) {
            err << "." << std::endl;
            if (errorPixel >= 0) {
                err << "Found at pixel #" << errorPixel << " along " << errorEdge << " edge";