Changes for the new webpage and bug fixes since 0.2.9.6
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@36 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -332,6 +332,8 @@ bool CDialog::setNextSelection()
|
||||
|
||||
selection += i;
|
||||
}
|
||||
else if(selection >= number_of_options-1)
|
||||
selection = -1;
|
||||
|
||||
return setSelection(selection+1);
|
||||
}
|
||||
@@ -346,6 +348,8 @@ bool CDialog::setPrevSelection()
|
||||
|
||||
selection -= i;
|
||||
}
|
||||
else if(selection-1 < 0)
|
||||
selection = number_of_options;
|
||||
|
||||
return setSelection(selection-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user