mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[MSTSC]
- Katayama Hirofumi: Remove temporary tchar.h inclusion and usage of _tcslen (replaced with lstrlen). See issue #5360 for more details. svn path=/trunk/; revision=47105
This commit is contained in:
parent
4b382e5846
commit
751c365e6e
|
@ -21,13 +21,6 @@
|
|||
#include <winsock2.h> /* winsock2.h first */
|
||||
#include <precomp.h>
|
||||
|
||||
//FIXME: remove eventually
|
||||
#ifndef _UNICODE
|
||||
#define _UNICODE
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
|
||||
|
||||
extern char g_username[];
|
||||
extern char g_hostname[];
|
||||
extern char g_servername[];
|
||||
|
@ -89,7 +82,7 @@ uni_to_str(char * sizex, TCHAR * size1)
|
|||
int len;
|
||||
int i;
|
||||
|
||||
len = _tcslen(size1);
|
||||
len = lstrlen(size1);
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
sizex[i] = (char)size1[i];
|
||||
|
|
Loading…
Reference in a new issue