Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer
This commit is contained in:
@@ -113,7 +113,7 @@ Color::Color (const std::string& spec)
|
||||
std::string word;
|
||||
for (auto& it : words)
|
||||
{
|
||||
word = Lexer::lowerCase (trim (it));
|
||||
word = Lexer::lowerCase (Lexer::trim (it));
|
||||
|
||||
if (word == "bold") fg_value |= _COLOR_BOLD;
|
||||
else if (word == "bright") bg_value |= _COLOR_BRIGHT;
|
||||
|
||||
Reference in New Issue
Block a user