aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mhmake/src/functions.cpp')
-rw-r--r--tools/mhmake/src/functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/functions.cpp b/tools/mhmake/src/functions.cpp
index 97dc99c01..1602112c3 100644
--- a/tools/mhmake/src/functions.cpp
+++ b/tools/mhmake/src/functions.cpp
@@ -525,7 +525,7 @@ string mhmakefileparser::f_addprefix(const string & Arg) const
string PreFix;
pTmp=NextCharItem(pTmp,PreFix,',');
#ifdef _DEBUG
- if (!*pTmp) {
+ if (PreFix.empty()) {
throw ("Wrong number of arguments in function addprefix");
}
#endif