• jothalha's avatar
    Fix string termination override on memmove. (#1645) · 89ca0fc6
    jothalha authored
    * Fix string termination override on memmove.
    
    strlen returns the number of characters excluding the null
    character. When shifting the string, that character has to be
    included to avoid undefined behaviour.
    
    * Revert changed comment.
    
    (cherry picked from commit 64916e4e)
    89ca0fc6
colorchart.c 17.5 KB