From 1423db0ed9f494e5acdd6ed9f7c861ee2adb2558 Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Fri, 28 Feb 2020 16:16:48 +0300 Subject: [PATCH] Astyle --- src/wincurse.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wincurse.cpp b/src/wincurse.cpp index 3583416922111..350759fc6516a 100644 --- a/src/wincurse.cpp +++ b/src/wincurse.cpp @@ -163,7 +163,8 @@ static void create_backbuffer() bmi.bmiHeader.biSizeImage = WindowWidth * WindowHeight * 1; bmi.bmiHeader.biClrUsed = color_loader::COLOR_NAMES_COUNT; // Colors in the palette bmi.bmiHeader.biClrImportant = color_loader::COLOR_NAMES_COUNT; // Colors in the palette - backbit = CreateDIBSection( 0, &bmi, DIB_RGB_COLORS, reinterpret_cast( &dcbits ), nullptr, 0 ); + backbit = CreateDIBSection( 0, &bmi, DIB_RGB_COLORS, reinterpret_cast( &dcbits ), nullptr, + 0 ); DeleteObject( SelectObject( backbuffer, backbit ) ); //load the buffer into DC } @@ -465,7 +466,7 @@ void cata_cursesport::curses_drawwindow( const catacurses::window &w ) } if( tmp ) { const std::wstring utf16 = widen( cell.ch ); - ExtTextOutW( backbuffer, drawx, drawy, 0, nullptr, utf16.c_str(), utf16.length(), nullptr ); + ExtTextOutW( backbuffer, drawx, drawy, 0, nullptr, utf16.c_str(), utf16.length(), nullptr ); } } else { switch( static_cast( win->line[j].chars[i].ch[0] ) ) {