forked from github/server
bugfix owners IV
This commit is contained in:
parent
fabbf9a3a3
commit
99bf6d0637
|
@ -1,6 +1,6 @@
|
||||||
/* vi: set ts=2:
|
/* vi: set ts=2:
|
||||||
*
|
*
|
||||||
* $Id: laws.c,v 1.15 2001/02/11 13:25:19 enno Exp $
|
* $Id: laws.c,v 1.16 2001/02/11 13:50:39 enno Exp $
|
||||||
* Eressea PB(E)M host Copyright (C) 1998-2000
|
* Eressea PB(E)M host Copyright (C) 1998-2000
|
||||||
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
||||||
* Katja Zedel (katze@felidae.kn-bremen.de)
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
||||||
|
@ -2123,7 +2123,7 @@ reorder_owners(region * r)
|
||||||
unit ** insert;
|
unit ** insert;
|
||||||
if (fval(u, FL_OWNER)) insert=ubegin;
|
if (fval(u, FL_OWNER)) insert=ubegin;
|
||||||
else insert = uend;
|
else insert = uend;
|
||||||
if (insert!=up) {
|
if (insert!=useek) {
|
||||||
*useek = u->next; /* raus aus der liste */
|
*useek = u->next; /* raus aus der liste */
|
||||||
u->next = *insert;
|
u->next = *insert;
|
||||||
*insert = u;
|
*insert = u;
|
||||||
|
@ -2162,7 +2162,7 @@ reorder_owners(region * r)
|
||||||
unit ** insert;
|
unit ** insert;
|
||||||
if (fval(u, FL_OWNER)) insert=ubegin;
|
if (fval(u, FL_OWNER)) insert=ubegin;
|
||||||
else insert = uend;
|
else insert = uend;
|
||||||
if (insert!=up) {
|
if (insert!=useek) {
|
||||||
*useek = u->next; /* raus aus der liste */
|
*useek = u->next; /* raus aus der liste */
|
||||||
u->next = *insert;
|
u->next = *insert;
|
||||||
*insert = u;
|
*insert = u;
|
||||||
|
|
Loading…
Reference in New Issue