#include <h/utils.h>
#include <h/fmt_scan.h>
#include <h/tws.h>
-#include "../sbr/terminal.h"
+#include "sbr/terminal.h"
#define NDATES 100
context_save (); /* save the context file */
fmt_free (fmt, 1);
- done(min(status, MAX_EXIT));
+ done(!!status);
return 1;
}
cptr = fmt_findcomp ("text");
if (cptr) {
- mh_xfree(cptr->c_text);
+ free(cptr->c_text);
cptr->c_text = mh_xstrdup(date);
}
fmt_scan (fmt, scanl, length, dat, NULL);