mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user