diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/SplashScreen/src/stdafx.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (diff) |
less TCHARs:
- TCHAR is replaced with wchar_t everywhere;
- LPGENT replaced with either LPGENW or LPGEN;
- fixes for ANSI plugins that improperly used _t functions;
- TCHAR *t removed from MAllStrings;
- ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz*
git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/stdafx.h')
-rw-r--r-- | plugins/SplashScreen/src/stdafx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SplashScreen/src/stdafx.h b/plugins/SplashScreen/src/stdafx.h index 070026efa2..dd1217124b 100644 --- a/plugins/SplashScreen/src/stdafx.h +++ b/plugins/SplashScreen/src/stdafx.h @@ -22,8 +22,8 @@ #define _CRT_SECURE_NO_DEPRECATE
-#include <windows.h>
#include <tchar.h>
+#include <windows.h>
#include <time.h>
#include <dshow.h>
@@ -48,7 +48,7 @@ #endif
// Internal defines
-#define SPLASH_CLASS "MirandaSplash"
+#define SPLASH_CLASS L"MirandaSplash"
#define MODNAME "SplashScreen"
#define WM_LOADED (WM_USER + 10)
@@ -68,8 +68,8 @@ struct SPLASHOPTS extern HWND hwndSplash;
extern SPLASHOPTS options;
-extern TCHAR szSplashFile[MAX_PATH], szSoundFile[MAX_PATH], szPrefix[128];
-extern TCHAR *szMirDir;
+extern wchar_t szSplashFile[MAX_PATH], szSoundFile[MAX_PATH], szPrefix[128];
+extern wchar_t *szMirDir;
extern char szVersion[MAX_PATH];
extern BOOL bserviceinvoked, bmodulesloaded, png2dibavail;
extern HINSTANCE hInst;
|