mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
strlen() doesn't include the terminating NUL. Therefore when allocating a block of memory to hold something equivalent to the length of the string we must increment to take the NUL byte into consideration. Signed-off-by: Rob Bradford <rob@linux.intel.com> |
||
|---|---|---|
| .. | ||
| convert_font.c | ||
| cursor.pcf | ||
| cursor_data.c | ||
| Makefile.am | ||
| os-compatibility.c | ||
| os-compatibility.h | ||
| wayland-cursor-uninstalled.pc.in | ||
| wayland-cursor.c | ||
| wayland-cursor.h | ||
| wayland-cursor.pc.in | ||
| xcursor.c | ||
| xcursor.h | ||