Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
niki committed Apr 13, 2024
1 parent 0291c5e commit 8ae3e27
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sakura_core/view/CEditView_Ime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ void CEditView::SetIMECompFormPos( void )
CompForm.dwStyle = CFS_POINT;
CompForm.ptCurrentPos.x = (long) point.x;
CompForm.ptCurrentPos.y = (long) point.y + GetCaret().GetCaretSize().cy - GetTextMetrics().GetHankakuHeight();
#if defined(NKMM_LINE_MARGIN_TOP) && NKMM_LINE_MARGIN_TOP_WITH_CARET_HEIGHT == 1 // 変換位置
CompForm.ptCurrentPos.y -= GetLineMargin() +
(GetLineSpace() & 1);
#endif // NKMM_
//#if defined(NKMM_LINE_MARGIN_TOP) && NKMM_LINE_MARGIN_TOP_WITH_CARET_HEIGHT == 1 // 変換位置
// CompForm.ptCurrentPos.y -= GetLineMargin();
//#endif // NKMM_

if ( hIMC ){
::ImmSetCompositionWindow( hIMC, &CompForm );
Expand Down

0 comments on commit 8ae3e27

Please sign in to comment.