From: Herman Semenov GermanAizek@yandex.ru
--- dlls/d3dcompiler_43/compiler.c | 2 +- programs/cmd/wcmdmain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dcompiler_43/compiler.c b/dlls/d3dcompiler_43/compiler.c index 6fffcfb82ab..5059deee9f1 100644 --- a/dlls/d3dcompiler_43/compiler.c +++ b/dlls/d3dcompiler_43/compiler.c @@ -176,7 +176,7 @@ static const char *get_line(const char **ptr) const char *p, *q;
p = *ptr; - if (!(q = strstr(p, "\n"))) + if (!(q = strchr(p, '\n'))) { if (!*p) return NULL; diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 2c64785d44a..50c71857bab 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -704,7 +704,7 @@ static WCHAR *WCMD_expand_envvar(WCHAR *start, WCHAR startchar) return WCMD_strsubstW(start, endOfVar + 1, startCopy, substrlength); /* search and replace manipulation */ } else { - WCHAR *equalspos = wcsstr(colonpos, L"="); + WCHAR *equalspos = wcschr(colonpos, '='); WCHAR *replacewith = equalspos+1; WCHAR *found = NULL; WCHAR *searchIn;