From 1b4de8fb5d24c1f7bb0f5287997849d000050462 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 24 Jan 2022 01:09:22 +0100 Subject: [PATCH] Manager: Run clang-format --- src/dotfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dotfile.cpp b/src/dotfile.cpp index de38dcd..a56869a 100644 --- a/src/dotfile.cpp +++ b/src/dotfile.cpp @@ -270,12 +270,12 @@ void Dotfile::selectivelyCommentOrUncomment(const std::string& path) if (!addComment) { line = line.substr(0, whiteSpaceBeforeComment) - + line.substr(contentAfterComment); + + line.substr(contentAfterComment); } else { line = line.substr(0, whiteSpaceBeforeComment) - + commentCharacter + ' ' - + line.substr(contentAfterComment); + + commentCharacter + ' ' + + line.substr(contentAfterComment); } dotfile.replace(positionInFile, lineLength, line);