| Re: [AD] Little bug in datedit.c |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> (3) make 'export' follow the 'save' convention ?
This one, IMO. To me, code that reads
if (!save(file)) {
scream_for_help();
}
is more readable. Also, having non-zero as a value to indicate failure
keeps the option of differentiating between different causes for failure.
Evert
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |