Skip to content

Commit d973db9

Browse files
committed
More clang-formatting
1 parent f86adac commit d973db9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ set(MAUI_SOURCES
4747
ui/ConfigDialog.cpp
4848
ui/Main.cpp
4949
ui/MainWindow.h
50-
ui/MainWindow.cpp
50+
ui/MainWindow.cpp
5151
ui/Theme.h
5252
ui/Theme.cpp
5353
)

core/Tools.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ std::string octalUnescape(const std::string& input)
2020
// This is super sketchy and fragile but it's good enough for now.
2121
for (auto pos = input.begin(), end = input.end(); pos < end; ++pos) {
2222
if (*pos == '\\') {
23-
if (*(pos + 1) == '\\')
24-
{
25-
result += "\\";
26-
pos += 1;
27-
continue;
28-
}
23+
if (*(pos + 1) == '\\') {
24+
result += "\\";
25+
pos += 1;
26+
continue;
27+
}
2928
std::string octalSequence(pos + 1, pos + 4);
3029
result += (char)std::stoi(octalSequence, 0, 8);
3130

0 commit comments

Comments
 (0)