From ad21554ecd8d7a41e95f5feeee2a1aa36ada252e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 1 Apr 2019 11:42:31 +0200 Subject: [PATCH] notepad: Use C runtime wchar functions instead of wine/unicode.h. Signed-off-by: Alexandre Julliard --- programs/notepad/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/notepad/main.c b/programs/notepad/main.c index da39eec0622..37ee7ec18d9 100644 --- a/programs/notepad/main.c +++ b/programs/notepad/main.c @@ -31,7 +31,6 @@ #include "main.h" #include "dialog.h" #include "notepad_res.h" -#include "wine/unicode.h" NOTEPAD_GLOBALS Globals; static ATOM aFINDMSGSTRING; @@ -684,7 +683,7 @@ static void HandleCommandLine(LPWSTR cmdline) static const WCHAR txtW[] = { '.','t','x','t',0 }; /* try to find file with ".txt" extension */ - if (strchrW(PathFindFileNameW(cmdline), '.')) + if (wcschr(PathFindFileNameW(cmdline), '.')) { file_exists = FALSE; file_name = cmdline;