notepad: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5480031653
commit
ad21554ecd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue