map.resolved -= 3;
map.qlen -= 3;
/* move all other queue entries three steps to the left */
- g_memmove(map.queue, map.queue + 3, map.qlen);
+ memmove(map.queue, map.queue + 3, map.qlen);
} else {
/* get first char of queue */
qk = map.queue[0];
map.qlen--;
/* move all other queue entries one step to the left */
- g_memmove(map.queue, map.queue + 1, map.qlen);
+ memmove(map.queue, map.queue + 1, map.qlen);
}
/* remove the nomap flag */
extra = strlen(translated);
overflow = old + extra - SHOWCMD_LEN;
if (overflow > 0) {
- g_memmove(showcmd_buf, showcmd_buf + overflow, old - overflow + 1);
+ memmove(showcmd_buf, showcmd_buf + overflow, old - overflow + 1);
}
strcat(showcmd_buf, translated);
} else {