mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix building with MSVC
fixed some warnings svn path=/trunk/; revision=20720
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include <windows.h>
|
||||
#include "license.h"
|
||||
#include <notepad.h>
|
||||
|
||||
static const CHAR LicenseCaption_En[] = "LICENSE";
|
||||
static const CHAR License_En[] =
|
||||
|
||||
@@ -37,7 +37,7 @@ VOID SetFileName(LPCWSTR szFileName)
|
||||
{
|
||||
lstrcpy(Globals.szFileName, szFileName);
|
||||
Globals.szFileTitle[0] = 0;
|
||||
GetFileTitle(szFileName, Globals.szFileTitle, sizeof(Globals.szFileTitle));
|
||||
GetFileTitle(szFileName, Globals.szFileTitle, wcslen(Globals.szFileTitle));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#define UNICODE
|
||||
#define _UNICODE
|
||||
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
|
||||
Reference in New Issue
Block a user