ports/editors/aewan/files/patch-aeff.c
Dmitry Marakasov 96e0a80788 - Switch to options helpers
- Regenerate patches
2017-03-11 09:01:51 +00:00

16 lines
457 B
C

--- aeff.c.orig 2005-10-01 01:50:41 UTC
+++ aeff.c
@@ -187,11 +187,12 @@ void aeff_write_header(AeFile *f, const
static bool aeff_read_mark(AeFile *f, const char *mark_name, char pref) {
char *line;
char *s;
- zfree(&err_string);
autod_begin;
autod_register(line, free);
+ zfree(&err_string);
+
autod_assign(line, freadline_ex(f->f, gzgetc));
/* if EOF was reached before anything could be read, something is wrong */