Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
raw string-literals where reasonable
  • Loading branch information
eteran committed Mar 18, 2024
1 parent c137554 commit 3478c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/DebuggerCore/unix/Unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Status Unix::execute_process(const QString &path, const QString &cwd, const QLis

p = argv_pointers;
while (*p) {
delete[] * p++;
delete[] *p++;
}
delete[] argv_pointers;
}
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/SyntaxHighlighter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ void SyntaxHighlighter::createRules() {

// expression brackets
rules_.emplace_back(
"(?:[\\(?:\\)\\[\\]])",
R"((?:[\(?:\)\[\]]))",
theme.text[Theme::Brackets]);

// math operators
rules_.emplace_back(
"\\b(?:[\\+\\-\\*])\\b",
R"(\b(?:[\+\-\*])\b)",
theme.text[Theme::Operator]);

// registers
Expand Down

0 comments on commit 3478c79

Please sign in to comment.