diff --git a/po/POTFILES b/po/POTFILES index af6f27c..7eb94ee 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -6,5 +6,5 @@ ../src/SetBG.cc \ ../src/Thumbview.cc \ ../src/Util.cc \ - ../src/main.cc + ../src/main.cc \ ../src/NPrefsWindow.cc diff --git a/src/Util.cc b/src/Util.cc index 2a84e50..3155858 100644 --- a/src/Util.cc +++ b/src/Util.cc @@ -253,7 +253,9 @@ bool is_image(std::string file) { file.find(".gif") != std::string::npos || file.find(".GIF") != std::string::npos || file.find(".svg") != std::string::npos || - file.find(".SVG") != std::string::npos) + file.find(".SVG") != std::string::npos || + file.find(".webp") != std::string::npos || + file.find(".WEBP") != std::string::npos) return true; return false;