diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-22 00:37:59 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-22 00:37:59 -0400 | 
| commit | 92b85fad70084d8f37a97939cbb18e131f531b11 (patch) | |
| tree | f9c9c68079dc08a21fb8e0fa88151a9f63c7f611 | |
| parent | cb8b3715703573e268b2d93046d933eb40c04064 (diff) | |
| parent | 5a53d75313dfc8f7f89e8041f866ccc5dd53d211 (diff) | |
Merge pull request #1147 from lioncash/warn
logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
| -rw-r--r-- | src/common/logging/text_formatter.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/common/logging/text_formatter.cpp b/src/common/logging/text_formatter.cpp index 8583916a8..05437c137 100644 --- a/src/common/logging/text_formatter.cpp +++ b/src/common/logging/text_formatter.cpp @@ -42,7 +42,7 @@ void PrintColoredMessage(const Entry& entry) {          return;      } -    CONSOLE_SCREEN_BUFFER_INFO original_info = {0}; +    CONSOLE_SCREEN_BUFFER_INFO original_info = {};      GetConsoleScreenBufferInfo(console_handle, &original_info);      WORD color = 0; | 
