Merge pull request #1147 from lioncash/warn

logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
merge-requests/60/head
bunnei 2018-08-22 00:37:59 +07:00 committed by GitHub
commit 92b85fad70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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