diff options
| author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 | 
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 | 
| commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
| tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/MirLua/Modules/WinAPI/src | |
| parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) | |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/Modules/WinAPI/src')
| -rw-r--r-- | plugins/MirLua/Modules/WinAPI/src/winapi.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp index 7aef66d263..b6d77a2973 100644 --- a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp +++ b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp @@ -62,8 +62,8 @@ static int lua_FindIterator(lua_State *L)  		}
  	}
 -	if (!mir_tstrcmpi(ffd.cFileName, _T(".")) ||
 -		!mir_tstrcmpi(ffd.cFileName, _T("..")) ||
 +	if (!mir_tstrcmpi(ffd.cFileName, L".") ||
 +		!mir_tstrcmpi(ffd.cFileName, L"..") ||
  		(ffd.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT))
  	{
  		lua_pushlightuserdata(L, hFind);
 @@ -1708,14 +1708,14 @@ static int global_GetOpenFileName(lua_State *L)  {
  	_A2T tszExt(lua_tostring(L, 1));
 -	TCHAR buff[MAX_PATH] = _T("");
 +	TCHAR buff[MAX_PATH] = L"";
  	OPENFILENAME ofn = { 0 };
  	ofn.lStructSize = sizeof(ofn);
  	ofn.lpstrFile = buff;
  	ofn.nMaxFile = _countof(buff);
  	ofn.lpstrDefExt = tszExt;
 -	ofn.lpstrFilter = _T("\0\0");
 +	ofn.lpstrFilter = L"\0\0";
  	if (GetOpenFileName(&ofn))
  		lua_pushstring(L, T2Utf(buff));
  | 
