Internals: Remove one of many ERROR define conflicts

This commit is contained in:
Wilson Snyder
2010-02-01 06:40:30 -05:00
parent fc2834cf04
commit 59261113d8
3 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -144,13 +144,13 @@ string V3Options::allArgsString() {
V3LangCode::V3LangCode (const char* textp) {
// Return code for given string, or ERROR, which is a bad code
for (int codei=V3LangCode::ERROR; codei<V3LangCode::MAX; ++codei) {
for (int codei=V3LangCode::L_ERROR; codei<V3LangCode::MAX; ++codei) {
V3LangCode code = (V3LangCode)codei;
if (0==strcasecmp(textp,code.ascii())) {
m_e = code; return;
}
}
m_e = V3LangCode::ERROR;
m_e = V3LangCode::L_ERROR;
}
//######################################################################