commit ff8f8405e9e26b9d1362e7ecae6a6fe47bd6f351
parent 7a03a1ff4d2684f6d104f8693850bcf3c7b1ff73
Author: Michael Savage <mikejsavage@gmail.com>
Date: Thu, 6 Sep 2018 13:21:17 +0300
Fix off by one in double top right glyph
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/x11.cc b/src/x11.cc
@@ -257,7 +257,7 @@ void ui_draw_char( int left, int top, char c, Colour colour, bool bold, bool bol
if( uint8_t( c ) == 187 ) { // double top right
ui_fill_rect( left, top + top_spacing - 1, right_spacing + 1, 1, colour, bold );
- ui_fill_rect( left + left_spacing + 1, top + top_spacing, 1, bot_spacing + 1, colour, bold );
+ ui_fill_rect( left + left_spacing + 1, top + top_spacing - 1, 1, bot_spacing + 1, colour, bold );
ui_fill_rect( left, top + top_spacing + 1, right_spacing - 1, 1, colour, bold );
ui_fill_rect( left + left_spacing - 1, top + top_spacing + 1, 1, bot_spacing - 1, colour, bold );
return;