diff options
Diffstat (limited to 'src/FileAnalyzer.cpp')
-rw-r--r-- | src/FileAnalyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp index ccad221..0059233 100644 --- a/src/FileAnalyzer.cpp +++ b/src/FileAnalyzer.cpp @@ -128,7 +128,7 @@ namespace QuickMedia { return false; } - if(width > 0 || height > 0) { + if(width > 0 && height > 0) { if(create_thumbnail(destination_path_tmp, destination_path, sf::Vector2i(width, height))) { remove(destination_path_tmp.data.c_str()); return true; |