Author: fireball
Date: Wed May 5 21:00:13 2010
New Revision: 47105
URL:
http://svn.reactos.org/svn/reactos?rev=47105&view=rev
Log:
[MSTSC]
- Katayama Hirofumi: Remove temporary tchar.h inclusion and usage of _tcslen (replaced
with lstrlen).
See issue #5360 for more details.
Modified:
trunk/reactos/base/applications/mstsc/win32.c
Modified: trunk/reactos/base/applications/mstsc/win32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/wi…
==============================================================================
--- trunk/reactos/base/applications/mstsc/win32.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/win32.c [iso-8859-1] Wed May 5 21:00:13 2010
@@ -20,13 +20,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[];
@@ -89,7 +82,7 @@
int len;
int i;
- len = _tcslen(size1);
+ len = lstrlen(size1);
for (i = 0; i < len; i++)
{
sizex[i] = (char)size1[i];