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

Commit 59e43277 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Fix debug output." am: d2013b44

am: cad30d34

Change-Id: Iddcdb96b6f471304336f548cf86fca1ad010cea8
parents 4f5e4b49 cad30d34
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -221,7 +221,11 @@ void printHexData(int32_t indent, const void *buf, size_t length,

        for (word = 0; word < bytesPerLine; ) {

            const size_t startIndex = word+(alignment-(alignment?1:0));
            size_t align_offset = alignment-(alignment?1:0);
            if (remain > 0 && (size_t)remain <= align_offset) {
                align_offset = remain - 1;
            }
            const size_t startIndex = word+align_offset;

            for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {