forked from ShuriZma/suyu
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ void PrintColoredMessage(const Entry& entry) {
return; return;
} }
CONSOLE_SCREEN_BUFFER_INFO original_info = {0}; CONSOLE_SCREEN_BUFFER_INFO original_info = {};
GetConsoleScreenBufferInfo(console_handle, &original_info); GetConsoleScreenBufferInfo(console_handle, &original_info);
WORD color = 0; WORD color = 0;