diff options
author | Sergios - Anestis Kefalidis <sergioskefalidis@gmail.com> | 2021-08-02 20:55:53 +0300 |
---|---|---|
committer | Sergios - Anestis Kefalidis <sergioskefalidis@gmail.com> | 2021-08-02 20:55:53 +0300 |
commit | a0f3696b6d5bddcb7ae1e54fc935280beca19755 (patch) | |
tree | a3bce78d7db35c3810bc735b7502f26ed86a6c9d /thunar | |
parent | b852a847c258b4221da91ecedfc916f0861cab5a (diff) | |
download | thunar-a0f3696b6d5bddcb7ae1e54fc935280beca19755.tar.gz |
Fix thumbnail display when the maximum size is set to unlimited
Diffstat (limited to 'thunar')
-rw-r--r-- | thunar/thunar-icon-factory.c | 2 |
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 */ |