From 8617d7e00546f892c9084f7c382648b23d8bbb63 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 16 Jun 2012 14:51:46 +0000 Subject: another portion of "#ifdef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/parse_external.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/Variables/parse_external.cpp') diff --git a/plugins/Variables/parse_external.cpp b/plugins/Variables/parse_external.cpp index 32f42ea1d3..a93f6ba44f 100644 --- a/plugins/Variables/parse_external.cpp +++ b/plugins/Variables/parse_external.cpp @@ -153,11 +153,9 @@ static TCHAR *parseAMIPEval(ARGUMENTSINFO *ai) { if (ai->argc != 2) { return NULL; } -#ifdef UNICODE + cmd = u2a(ai->targv[1]); -#else - cmd = _strdup(ai->targv[1]); -#endif + if (checkAMIP() != 0) { log_debugA("checkAMIP failed"); -- cgit v1.2.3