vkd3d-shader: Change use of strstr to strchr.

Signed-off-by: Isabella Bosia <ibosia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Isabella Bosia 2020-09-25 02:26:34 +01:00 committed by Alexandre Julliard
parent b72a2893c2
commit 0808058ede

View File

@ -110,7 +110,7 @@ static void vkd3d_string_buffer_trace_(const struct vkd3d_string_buffer *buffer,
for (p = buffer->buffer; *p; p = q)
{
if (!(q = strstr(p, "\n")))
if (!(q = strchr(p, '\n')))
q = p + strlen(p);
else
++q;