From 751c365e6e9dfad8624ab0eca279bfe9df7b5937 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 5 May 2010 19:00:13 +0000 Subject: [PATCH] [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 --- reactos/base/applications/mstsc/win32.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/reactos/base/applications/mstsc/win32.c b/reactos/base/applications/mstsc/win32.c index 56390e09621..c7c4e63361b 100644 --- a/reactos/base/applications/mstsc/win32.c +++ b/reactos/base/applications/mstsc/win32.c @@ -21,13 +21,6 @@ #include /* winsock2.h first */ #include -//FIXME: remove eventually -#ifndef _UNICODE -#define _UNICODE -#endif -#include - - 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];