Merge pull request #1147 from lioncash/warn

logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
This commit is contained in:
bunnei 2018-08-22 00:37:59 -04:00 committed by GitHub
commit 92b85fad70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;