mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 21:46:24 +00:00
Fix some code formating mess.
This commit is contained in:
parent
b93a38c08e
commit
e8a82d565b
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…
x
Reference in New Issue
Block a user