Rémi Bernon (@rbernon) commented about dlls/winemac.drv/keyboard.c:
done: /* Null-terminate the buffer, if there's room. MSDN clearly states that the caller must not assume this is done, but some programs (e.g. Audiosurf) do. */
- if (1 <= ret && ret < bufW_size)
bufW[ret] = 0;
- if (0 <= len && len < bufW_size)
```suggestion:-0+0 if (len < bufW_size) ```