diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 2faf42ee..2edaf056 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -652,6 +652,18 @@ void Graphics::PrintWrap( char buffer[54*4 + 1]; size_t start = 0; + if (flipmode) + { + /* Correct for the height of the resulting print. */ + size_t len = 0; + while (next_wrap(&start, &len, &str[start], maxwidth)) + { + y += linespacing; + } + y -= linespacing; + start = 0; + } + while (next_wrap_s(buffer, sizeof(buffer), &start, str, maxwidth)) { Print(x, y, buffer, r, g, b, cen);