Commit ad21554e authored by Alexandre Julliard's avatar Alexandre Julliard

notepad: Use C runtime wchar functions instead of wine/unicode.h.

parent 54800316
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "main.h" #include "main.h"
#include "dialog.h" #include "dialog.h"
#include "notepad_res.h" #include "notepad_res.h"
#include "wine/unicode.h"
NOTEPAD_GLOBALS Globals; NOTEPAD_GLOBALS Globals;
static ATOM aFINDMSGSTRING; static ATOM aFINDMSGSTRING;
...@@ -684,7 +683,7 @@ static void HandleCommandLine(LPWSTR cmdline) ...@@ -684,7 +683,7 @@ static void HandleCommandLine(LPWSTR cmdline)
static const WCHAR txtW[] = { '.','t','x','t',0 }; static const WCHAR txtW[] = { '.','t','x','t',0 };
/* try to find file with ".txt" extension */ /* try to find file with ".txt" extension */
if (strchrW(PathFindFileNameW(cmdline), '.')) if (wcschr(PathFindFileNameW(cmdline), '.'))
{ {
file_exists = FALSE; file_exists = FALSE;
file_name = cmdline; file_name = cmdline;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment