summaryrefslogtreecommitdiff
path: root/src/idl_gen_dart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/idl_gen_dart.cpp')
-rw-r--r--src/idl_gen_dart.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/idl_gen_dart.cpp b/src/idl_gen_dart.cpp
index e4dde75f..80fd5834 100644
--- a/src/idl_gen_dart.cpp
+++ b/src/idl_gen_dart.cpp
@@ -486,8 +486,7 @@ class DartGenerator : public BaseGenerator {
auto &part = *it;
for (size_t i = 0; i < part.length(); i++) {
- if (i && !isdigit(part[i]) &&
- part[i] == CharToUpper(part[i])) {
+ if (i && !isdigit(part[i]) && part[i] == CharToUpper(part[i])) {
ns += "_";
ns += CharToLower(part[i]);
} else {