X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fmfile.c;h=750a3b3efc7822f392be6de0b8f29407fc01949f;hb=7cf4e149027f602723f729b8a3b8601833232021;hp=44364bc7eccbeb652c24e66629872d244fd5e76b;hpb=896122c20b323ec3ddf2a2bfa334643e0a977d7e;p=idzebra-moved-to-github.git diff --git a/bfile/mfile.c b/bfile/mfile.c index 44364bc..750a3b3 100644 --- a/bfile/mfile.c +++ b/bfile/mfile.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: mfile.c,v $ - * Revision 1.19 1996-05-01 07:16:30 quinn + * Revision 1.21 1996-10-29 13:56:18 adam + * Include of zebrautl.h instead of alexutil.h. + * + * Revision 1.20 1996/05/14 12:10:16 quinn + * Bad areadef scan + * + * Revision 1.19 1996/05/01 07:16:30 quinn * Fixed ancient bug. * * Revision 1.18 1996/04/09 06:47:30 adam @@ -78,7 +84,7 @@ #include #include -#include +#include #include static MFile_area_struct *open_areas = 0; @@ -134,7 +140,7 @@ static int scan_areadef(MFile_area ma, const char *name) else if (*ad == '+') ad++; size = 0; - if (*ad <= '0' || *ad >= '9') + if (*ad < '0' || *ad > '9') { logf (LOG_FATAL, "Missing size after path: %s", ad0); return -1;