From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: 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 --- plugins/SplashScreen/src/splash.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/SplashScreen/src/splash.cpp') diff --git a/plugins/SplashScreen/src/splash.cpp b/plugins/SplashScreen/src/splash.cpp index 9e209b906a..c3cafffbc6 100644 --- a/plugins/SplashScreen/src/splash.cpp +++ b/plugins/SplashScreen/src/splash.cpp @@ -41,7 +41,7 @@ LRESULT CALLBACK SplashWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM case WM_TIMER: #ifdef _DEBUG - TCHAR b[40]; + wchar_t b[40]; mir_sntprintf(b, L"%d", wParam); logMessage(L"Timer ID", b); mir_sntprintf(b, L"%d", options.showtime); @@ -152,7 +152,7 @@ void __cdecl SplashThread(void *arg) wcl.hCursor = LoadCursor(NULL, IDC_ARROW); wcl.hbrBackground = (HBRUSH)GetStockObject(LTGRAY_BRUSH); wcl.lpszMenuName = NULL; - wcl.lpszClassName = _T(SPLASH_CLASS); + wcl.lpszClassName = SPLASH_CLASS; wcl.hIconSm = NULL; RegisterClassEx(&wcl); @@ -172,7 +172,7 @@ void __cdecl SplashThread(void *arg) hwndSplash = CreateWindowEx( WS_EX_TOOLWINDOW | WS_EX_TOPMOST,//dwStyleEx - _T(SPLASH_CLASS), //Class name + SPLASH_CLASS, //Class name NULL, //Title DS_SETFONT | DS_FIXEDSYS | WS_POPUP, //dwStyle WindowRect.left, // x @@ -227,8 +227,8 @@ void __cdecl SplashThread(void *arg) } } - TCHAR verString[256] = { 0 }; - TCHAR *mirandaVerString = mir_a2t(szVersion); + wchar_t verString[256] = { 0 }; + wchar_t *mirandaVerString = mir_a2t(szVersion); mir_sntprintf(verString, L"%s%s", szPrefix, mirandaVerString); mir_free(mirandaVerString); LOGFONT lf = { 0 }; @@ -326,7 +326,7 @@ BOOL ShowSplash(BOOL bpreview) else { timeout = options.showtime; #ifdef _DEBUG - TCHAR b[40]; + wchar_t b[40]; mir_sntprintf(b, L"%d", options.showtime); logMessage(L"Timeout", b); #endif -- cgit v1.2.3