diff options
Diffstat (limited to 'plugins/Variables/parse_external.cpp')
-rw-r--r-- | plugins/Variables/parse_external.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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");
|