Skip to content

Commit e642bca

Browse files
committed
PatchUnicode-1046 v0.14 履歴削除に対応できていなかったので修正
1 parent e8efdf5 commit e642bca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sakura_core/dlg/CDialog.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -757,15 +757,16 @@ static void DeleteRecentItem(
757757
return;
758758
}
759759

760-
// コンボボックスのリストアイテム削除
761-
Combo_DeleteString( hwndCombo, nIndex );
762-
763-
// 履歴項目を削除
764760
int nRecentIndex = pRecent->FindItemByText( cItemText.GetStringPtr() );
765761
// お気に入りチェック
766762
if( pRecent->IsFavorite(nRecentIndex) ){
767763
return;
768764
}
765+
766+
// コンボボックスのリストアイテム削除
767+
Combo_DeleteString( hwndCombo, nIndex );
768+
769+
// 履歴項目を削除
769770
if( 0 <= nRecentIndex ){
770771
pRecent->DeleteItem(nRecentIndex);
771772
}

0 commit comments

Comments
 (0)