openbsd-ports/games/xlife/patches/patch-xlife_save_c

13 lines
422 B
Plaintext
Raw Normal View History

$OpenBSD: patch-xlife_save_c,v 1.1 2000/12/16 15:39:33 espie Exp $
--- xlife/save.c.orig Thu Dec 14 03:51:52 2000
+++ xlife/save.c Thu Dec 14 03:52:10 2000
@@ -753,7 +753,7 @@ static void *get_list_of_sorted_cellbox_
}
ctr /= 3;
if (ctr>0)
- heapsort(coordxyptrlist,ctr,3);
+ lheapsort(coordxyptrlist,ctr,3);
coordxyptrlist -= 3;
for (i=0;i<ctr;i++)
coordxyptrlist[i]= coordxyptrlist[3+3*i+2];