diff --git a/src/field.c b/src/field.c index b9f335e..73d6c28 100644 --- a/src/field.c +++ b/src/field.c @@ -1,4 +1,4 @@ -/* $Id: field.c,v 1.5 2003/05/04 20:26:16 ob1kenewb Exp $ */ +/* $Id: field.c,v 1.6 2003/05/04 21:44:14 ob1kenewb Exp $ */ /* field.c - procedures which are needed to control the field */ #include @@ -95,7 +95,7 @@ void field_load(FILE *map) int i; int d; - while((currentline=fgets(&tmp,MAX_FIELDSIZE_X,map))) + while((currentline=fgets(tmp,MAX_FIELDSIZE_X,map))) /* fgetln is only implemented on *BSD */ /* while((currentline=fgetln(map,&length))) */ {