Use g_string_erase instead of memmove.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 21 Feb 2020 22:30:54 +0000 (23:30 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 21 Feb 2020 22:30:54 +0000 (23:30 +0100)
commit44cbc4c19ccee2d624620af4193338ff4e278a66
tree2f35ad23822be52df9a758235bce4b6ab6a2c883
parent0e98c6beb3620075e954c2b91b61a16e700b0e82
Use g_string_erase instead of memmove.

The memmove moved queued keys toward the beginning and left clutter and
unwanted stuff at the end which might cause issues in future. So now
g_string_erase is used which strips chars from the beginning of the
string. This is what the memmove() intended but did not make obvious.
src/map.c