mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
cpp: Fixed issue with inserting the first assist item
git-svn-id: svn://ultimatepp.org/upp/trunk@8510 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
91f1375876
commit
d9ede75b81
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ void AssistEditor::AssistInsert()
|
|||
{
|
||||
if(assist.IsCursor()) {
|
||||
int ii = assist.GetCursor();
|
||||
if(ii <= 0 || ii >= assist_item_ndx.GetCount())
|
||||
if(ii < 0 || ii >= assist_item_ndx.GetCount())
|
||||
return;
|
||||
ii = assist_item_ndx[ii];
|
||||
if(ii >= assist_item.GetCount()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue