# HG changeset patch # User Paul Boddie # Date 1542215183 -3600 # Node ID 336980f5c28778a77f8b9a964ae73ec44931cce0 # Parent f6e7f5065d264a1c9d27f2f167989ae270c84a6f Fixed the line copying routine to actually copy the data! diff -r f6e7f5065d26 -r 336980f5c287 lib/display.c --- a/lib/display.c Wed Nov 14 13:55:15 2018 +0100 +++ b/lib/display.c Wed Nov 14 18:06:23 2018 +0100 @@ -220,7 +220,7 @@ static void copy_data(uint8_t *dest, const uint8_t *src, int count) { while (count--) - *dest = *src; + *dest++ = *src++; } /* Scroll the display. */