Commit 1ebd8615 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

grace=0 should not mean "use default"

Spotted by:	Geoff
parent 0a23fd62
......@@ -119,7 +119,7 @@ EXP_Grace(const struct sess *sp, const struct object *o)
double r;
r = (double)params->default_grace;
if (o->exp.grace > 0.)
if (o->exp.grace >= 0.)
r = o->exp.grace;
if (sp != NULL && sp->exp.grace > 0. && sp->exp.grace < r)
r = sp->exp.grace;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment