We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f86adac commit d973db9Copy full SHA for d973db9
CMakeLists.txt
@@ -47,7 +47,7 @@ set(MAUI_SOURCES
47
ui/ConfigDialog.cpp
48
ui/Main.cpp
49
ui/MainWindow.h
50
- ui/MainWindow.cpp
+ ui/MainWindow.cpp
51
ui/Theme.h
52
ui/Theme.cpp
53
)
core/Tools.cpp
@@ -20,12 +20,11 @@ std::string octalUnescape(const std::string& input)
20
// This is super sketchy and fragile but it's good enough for now.
21
for (auto pos = input.begin(), end = input.end(); pos < end; ++pos) {
22
if (*pos == '\\') {
23
- if (*(pos + 1) == '\\')
24
- {
25
- result += "\\";
26
- pos += 1;
27
- continue;
28
- }
+ if (*(pos + 1) == '\\') {
+ result += "\\";
+ pos += 1;
+ continue;
+ }
29
std::string octalSequence(pos + 1, pos + 4);
30
result += (char)std::stoi(octalSequence, 0, 8);
31
0 commit comments