diff options
Diffstat (limited to 'booki.c')
| -rw-r--r-- | booki.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1011,8 +1011,8 @@ void add(char *booki_file) { DataField datafield; for (int i = 0; i < BOOK_FIELDS_COUNT; i++) { datafield = BOOK_FIELDS[i]; - // skip ID for new books - if (ATTR_MATCH(datafield.name, "id")) + // skip ID and _other for new books + if (ATTR_MATCH(datafield.name, "id") || ATTR_MATCH(datafield.name, "_other")) continue; // otherwise, always write the name first fputs(datafield.name, edit_file); |
