Skip to content

Commit

Permalink
Merge 26fc354 into 9d4fb80
Browse files Browse the repository at this point in the history
  • Loading branch information
beru authored Aug 25, 2019
2 parents 9d4fb80 + 26fc354 commit 8052aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakura_core/view/CEditView_Paint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ bool CEditView::CreateOrUpdateCompatibleBitmap( int cx, int cy )
// サイズを64の倍数で整列
int nBmpWidthNew = ((cx + 63) & (0x7fffffff - 63));
int nBmpHeightNew = ((cy + 63) & (0x7fffffff - 63));
if( nBmpWidthNew != m_nCompatBMPWidth || nBmpHeightNew != m_nCompatBMPHeight ){
if( nBmpWidthNew > m_nCompatBMPWidth || nBmpHeightNew > m_nCompatBMPHeight ){
#if 0
MYTRACE( _T("CEditView::CreateOrUpdateCompatibleBitmap( %d, %d ): resized\n"), cx, cy );
#endif
Expand Down

0 comments on commit 8052aec

Please sign in to comment.