diff options
| author | 2018-08-21 11:28:25 -0400 | |
|---|---|---|
| committer | 2018-08-21 11:31:05 -0400 | |
| commit | 5a53d75313dfc8f7f89e8041f866ccc5dd53d211 (patch) | |
| tree | 2ffe3581a49bdb5337c0f7a4b685e7a4adfc6022 /src/common/logging/text_formatter.cpp | |
| parent | Merge pull request #1143 from lioncash/inc (diff) | |
| download | yuzu-5a53d75313dfc8f7f89e8041f866ccc5dd53d211.tar.gz yuzu-5a53d75313dfc8f7f89e8041f866ccc5dd53d211.tar.xz yuzu-5a53d75313dfc8f7f89e8041f866ccc5dd53d211.zip | |
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).
Diffstat (limited to 'src/common/logging/text_formatter.cpp')
| -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) { | |||
| 42 | return; | 42 | return; |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | CONSOLE_SCREEN_BUFFER_INFO original_info = {0}; | 45 | CONSOLE_SCREEN_BUFFER_INFO original_info = {}; |
| 46 | GetConsoleScreenBufferInfo(console_handle, &original_info); | 46 | GetConsoleScreenBufferInfo(console_handle, &original_info); |
| 47 | 47 | ||
| 48 | WORD color = 0; | 48 | WORD color = 0; |