mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 11:53:29 +00:00
add stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@800 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -495,7 +495,7 @@ static void mwListBoxDeleteImpl(MwWidget handle, int index) {
|
||||
if(MwGetInteger(handle, MwNvalue) >= arrlen(lb->list)) {
|
||||
MwSetInteger(handle, MwNvalue, arrlen(lb->list) - 1);
|
||||
}
|
||||
if(MwGetInteger(handle, MwNvalue) < 0) {
|
||||
if(MwGetInteger(handle, MwNvalue) < (MwGetInteger(handle, MwNhasHeading) ? 1 : 0)) {
|
||||
MwSetInteger(handle, MwNvalue, -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user