Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

補完候補一覧ダイアログの不具合修正 #1750

Merged
5 commits merged into from Jan 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
リストボックスからのテキスト取得処理で取りこぼしが生じているのを修正
  • Loading branch information
Kohki Akikaze committed Jan 2, 2022
commit c8996484bb9d77455951610116e7c722f28eeb40
2 changes: 1 addition & 1 deletion sakura_core/apiwrap/StdControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace ApiWrap{
}

// アイテムテキストを設定するのに必要なバッファを確保する
strText.resize( cchRequired );
strText.resize(cchRequired + 1);
beru marked this conversation as resolved.
Show resolved Hide resolved

// ListBox_GetText() はコピーした文字数を返す。
const int actualCopied = ListBox_GetText( hList, nIndex, strText.data() );
Expand Down