(svn r1175) -Fix: [ 1086375 ] Backup-order-list was not closed with an OT_NOTHING,
authortruelight
Sun, 19 Dec 2004 16:26:45 +0000
changeset 723 edd37e6da51f
parent 722 f420fa9bd521
child 724 a73dec475b53
(svn r1175) -Fix: [ 1086375 ] Backup-order-list was not closed with an OT_NOTHING,
resulting in order-lists mixing together (maybe tnx to Darkvater, not
sure though..)
order_cmd.c
--- a/order_cmd.c	Sun Dec 19 15:14:55 2004 +0000
+++ b/order_cmd.c	Sun Dec 19 16:26:45 2004 +0000
@@ -327,6 +327,8 @@
 		do {
 			*os++ = *sched++;
 		} while (sched->type != OT_NOTHING);
+		/* Make sure the last item is OT_NOTHING */
+		os->type = OT_NOTHING;
 	}
 }