Skip to content

Commit 5fc39b0

Browse files
authored
Fix breaking typo (#39)
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
1 parent 31b7a8a commit 5fc39b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl/sink_to_file.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace soralog {
107107
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
108108
*ptr++ = c;
109109
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
110-
-width;
110+
--width;
111111
}
112112
while (width--) { // Pad remaining space with spaces
113113
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)

0 commit comments

Comments
 (0)