mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 08:10:08 +00:00
logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance
The previous form of initializing done here is a C-ism, an empty set of braces is sufficient for initializing (and doesn't potentially cause missing brace warnings, given the first member of the struct is a COORD struct).
This commit is contained in:
parent
c95c4442e9
commit
5a53d75313
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user