mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 18:26:43 +00:00
Fix #92
This commit is contained in:
parent
8f9d29dbc6
commit
a0739d5177
@ -150,6 +150,8 @@ char *get_meta_key_text(enum metakey meta_key) {
|
|||||||
return "modified_by";
|
return "modified_by";
|
||||||
case MetaThumbnail:
|
case MetaThumbnail:
|
||||||
return "thumbnail";
|
return "thumbnail";
|
||||||
|
case MetaPages:
|
||||||
|
return "pages";
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -278,6 +280,7 @@ void read_index_bin(const char *path, const char *index_id, index_func func) {
|
|||||||
size_t ret = 0;
|
size_t ret = 0;
|
||||||
while (key != '\n') {
|
while (key != '\n') {
|
||||||
switch (key) {
|
switch (key) {
|
||||||
|
case MetaPages:
|
||||||
case MetaWidth:
|
case MetaWidth:
|
||||||
case MetaHeight: {
|
case MetaHeight: {
|
||||||
int value;
|
int value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user