Fix some code formating mess.
This commit is contained in:
parent
b93a38c08e
commit
e8a82d565b
1 changed files with 5 additions and 5 deletions
10
src/util.cpp
10
src/util.cpp
|
@ -16,10 +16,11 @@
|
|||
|
||||
// Remove tags from begining of string (it creates new string, so it's safe to call)
|
||||
std::string del_tags(std::string name){
|
||||
std::stringstream str;
|
||||
bool colour_def = false;
|
||||
bool not_name = true;
|
||||
std::string::const_iterator it;
|
||||
std::stringstream str;
|
||||
bool colour_def = false;
|
||||
bool not_name = true;
|
||||
std::string::const_iterator it;
|
||||
|
||||
for (it = name.begin(); it != name.end(); it++){
|
||||
// On the first analphabet character we stop react on specials characters
|
||||
if (not_name && isalpha(*it)){
|
||||
|
@ -112,4 +113,3 @@ double lexical_cast_default<double, const std::string&>(const std::string& a, do
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue