Skip to content

Commit

Permalink
Merge pull request #1 from Master-COLLiDER/main
Browse files Browse the repository at this point in the history
The issue with settextstyle() function solved
  • Loading branch information
ahmedshakill authored Jan 29, 2022
2 parents 49894b6 + c600289 commit 2d773e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbgi/src/text.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static void set_font(WindowData* pWndData)

// assign the fonts to each of the hdcs
for ( int i = 0; i < MAX_PAGES; i++ )
SelectObject( pWndData->hDC[i], hFont );
DeleteObject(SelectObject( pWndData->hDC[i], hFont ));
}


Expand Down

0 comments on commit 2d773e0

Please sign in to comment.