mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-28 17:14:38 +00:00
Before this, the function could not be used on buffers,
as it would not account for the zero-termination unless
it was included in the input.
(cherry picked from commit 5f5abb6805)