summaryrefslogtreecommitdiff
path: root/thunar/thunar-icon-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'thunar/thunar-icon-factory.c')
-rw-r--r--thunar/thunar-icon-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index 3de10105..a566d0ce 100644
--- a/thunar/thunar-icon-factory.c
+++ b/thunar/thunar-icon-factory.c
@@ -988,7 +988,7 @@ thunar_icon_factory_load_file_icon (ThunarIconFactory *factory,
}
else
{
- if (thunar_file_get_size (file) < factory->thumbnail_max_file_size)
+ if (thunar_file_get_size (file) < factory->thumbnail_max_file_size || factory->thumbnail_max_file_size == 0) /* 0 = unlimited */
{
/* we have no preview icon but the thumbnail should be ready. determine
* the filename of the thumbnail */