fixed some warnings
svn path=/trunk/; revision=20720
-#include <windows.h>
-#include "license.h"
+#include <notepad.h>
static const CHAR LicenseCaption_En[] = "LICENSE";
static const CHAR License_En[] =
{
lstrcpy(Globals.szFileName, szFileName);
Globals.szFileTitle[0] = 0;
- GetFileTitle(szFileName, Globals.szFileTitle, sizeof(Globals.szFileTitle));
+ GetFileTitle(szFileName, Globals.szFileTitle, wcslen(Globals.szFileTitle));
}
/***********************************************************************
#define UNICODE\r
#define _UNICODE\r
\r
-#define _CRT_SECURE_NO_DEPRECATE\r
-\r
#include <assert.h>\r
#include <stdio.h>\r
#include <windows.h>\r