diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-01-30 21:46:11 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-01-30 21:46:11 +0100 |
| commit | 582702a4903a718c7d3ca5a153afef3f3006c9f0 (patch) | |
| tree | c52d8a6bf76ee444683cd3949640ffa35da0de11 | |
| parent | fa871cef365c57f80442a9a02c34ff4bf82ae833 (diff) | |
| download | cataract-582702a4903a718c7d3ca5a153afef3f3006c9f0.tar.xz | |
theming: Fix the have_image_size() nofullsize test
The "original" image size presence should not really be reported
when the "preview" image size substitutes it due to its absence
(not defined in the album XML file).
| -rw-r--r-- | src/generators.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/generators.c b/src/generators.c index e1b1fdc..9183888 100644 --- a/src/generators.c +++ b/src/generators.c @@ -362,10 +362,6 @@ have_image_size_cb (gchar **args, gpointer user_data) if (is_original && data->item->path && ! IS_NOFULLSIZE (data->item, data->items, data->setup)) return TRUE; - if (is_original && (! data->item->path || IS_NOFULLSIZE (data->item, data->items, data->setup)) && - data->item->image_sizes && g_hash_table_lookup (data->item->image_sizes, "preview")) - return TRUE; - return FALSE; } |
