astyle fix

This commit is contained in:
Reijo Tomperi 2009-06-19 16:47:40 +03:00
parent 58c7414ce0
commit 73661dbd69
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ public:
std::string::size_type pos = 0;
// Remove leading spaces
if ((pos = macrocode.find_first_not_of(" ")) > 0)
macrocode.erase(0,pos);
macrocode.erase(0, pos);
// Remove ending newline
if ((pos = macrocode.find_first_of("\r\n")) != std::string::npos)
macrocode.erase(pos);