diff options
Diffstat (limited to 'tools/util')
-rw-r--r-- | tools/util/naming.cpp | 4 | ||||
-rw-r--r-- | tools/util/naming.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/util/naming.cpp b/tools/util/naming.cpp index 12594c5..0ae99f6 100644 --- a/tools/util/naming.cpp +++ b/tools/util/naming.cpp | |||
@@ -2,10 +2,10 @@ | |||
2 | 2 | ||
3 | #include <sstream> | 3 | #include <sstream> |
4 | 4 | ||
5 | std::string GetLetterName(std::string key, bool double_) { | 5 | std::string GetLetterName(std::string key, bool level2) { |
6 | std::ostringstream lettername_s; | 6 | std::ostringstream lettername_s; |
7 | lettername_s << key; | 7 | lettername_s << key; |
8 | lettername_s << (double_ ? "2" : "1"); | 8 | lettername_s << (level2 ? "2" : "1"); |
9 | 9 | ||
10 | return lettername_s.str(); | 10 | return lettername_s.str(); |
11 | } | 11 | } |
diff --git a/tools/util/naming.h b/tools/util/naming.h index 7d61309..9a68851 100644 --- a/tools/util/naming.h +++ b/tools/util/naming.h | |||
@@ -3,6 +3,6 @@ | |||
3 | 3 | ||
4 | #include <string> | 4 | #include <string> |
5 | 5 | ||
6 | std::string GetLetterName(std::string key, bool double_); | 6 | std::string GetLetterName(std::string key, bool level2); |
7 | 7 | ||
8 | #endif /* TOOLS_UTIL_NAMING_H_ */ | 8 | #endif /* TOOLS_UTIL_NAMING_H_ */ |