From 6deea176a87d91b19f118b02e39c169d1a548055 Mon Sep 17 00:00:00 2001 From: Botanic Date: Sun, 4 Aug 2013 01:43:54 -0700 Subject: [PATCH] Make it so that bad text always throws a nlwarning --- code/nel/src/misc/i18n.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/code/nel/src/misc/i18n.cpp b/code/nel/src/misc/i18n.cpp index e53750af7..8aaa8df6e 100644 --- a/code/nel/src/misc/i18n.cpp +++ b/code/nel/src/misc/i18n.cpp @@ -323,23 +323,6 @@ bool CI18N::parseLabel(ucstring::const_iterator &it, ucstring::const_iterator &l ucstring::const_iterator rewind = it; label.erase(); - // first char must be A-Za-z@_ - if (it != last && - ( - (*it >= '0' && *it <= '9') - || (*it >= 'A' && *it <= 'Z') - || (*it >= 'a' && *it <= 'z') - || (*it == '_') - || (*it == '@') - ) - ) - label.push_back(char(*it++)); - else - { - it = rewind; - return false; - } - // other char must be [0-9A-Za-z@_]* while (it != last && (