Fixes for mbsetup

This commit is contained in:
Michiel Broek 2002-01-19 19:27:29 +00:00
parent 2bdbf7a494
commit bd953f7b3e
14 changed files with 41 additions and 13 deletions

View File

@ -4318,6 +4318,8 @@ v0.33.19 26-Oct-2001
fetching of newsgroups headers.
The edit field now shows the contents correctly if the field
contains the % character.
In several menus after leaving a edit record records were
displayed from start again, now shows last screen.
mbsebbs:
Added menu 317, change FS editor shortcut keys to (Emacs/

View File

@ -444,8 +444,10 @@ void EditDomain(void)
if ((o - 10) >= 0)
o = o - 10;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditDomainRec(atoi(pick));
o = ((atoi(pick) - 1) / 10) * 10;
}
}
}

View File

@ -510,8 +510,10 @@ void EditFilearea(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditFileRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -404,8 +404,10 @@ void EditFilefind(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditFfRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -445,8 +445,10 @@ void EditFGroup(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditFGrpRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -541,8 +541,10 @@ void EditHatch(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditHatchRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -471,8 +471,10 @@ void EditMagics(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditMagicRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -442,8 +442,10 @@ void EditMGroup(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditMGrpRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -514,8 +514,10 @@ void EditNewfiles(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditNewRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -394,8 +394,10 @@ void EditNGroup(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditNGrpRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -974,8 +974,10 @@ void EditNodes(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditNodeRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -380,8 +380,10 @@ void EditOneline(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditOnelRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -394,8 +394,10 @@ void EditService(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditServiceRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}

View File

@ -589,8 +589,10 @@ void EditUsers(void)
if ((o - 20) >= 0)
o = o - 20;
if ((atoi(pick) >= 1) && (atoi(pick) <= records))
if ((atoi(pick) >= 1) && (atoi(pick) <= records)) {
EditUsrRec(atoi(pick));
o = ((atoi(pick) - 1) / 20) * 20;
}
}
}