summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: caf7535)
raw | patch | inline | side by side (parent: caf7535)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Oct 2006 22:08:37 +0000 (22:08 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Oct 2006 22:08:37 +0000 (22:08 +0000) |
src/interface.cpp | patch | blob | history |
diff --git a/src/interface.cpp b/src/interface.cpp
index 17248a206bd81f3dfcc894b08ed9f764eef81d28..99f6c394fb2958f5c01e91aae1a5168bda772164 100644 (file)
--- a/src/interface.cpp
+++ b/src/interface.cpp
if (dir) {
for (gchar const *file = g_dir_read_name(dir); file != NULL; file = g_dir_read_name(dir)) {
- if (!g_str_has_suffix(file, ".svg"))
+ if (!g_str_has_suffix(file, ".svg") && !g_str_has_suffix(file, ".svgz"))
continue; // skip non-svg files
gchar *basename = g_path_get_basename(file);