mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
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:
parent
b72a2893c2
commit
0808058ede
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user