summaryrefslogtreecommitdiff
path: root/src/xsane-back-gtk.c
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 16:20:28 +0200
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 16:20:28 +0200
commit23337be110e44acd2f922fed0c92c5130abc1bba (patch)
tree577707fbcd4ffa280c3e1644e4ce48f06de7defd /src/xsane-back-gtk.c
parentca9f280d0ac4173cdd29f745fd574a3b597969e7 (diff)
Imported Upstream version 0.999
Diffstat (limited to 'src/xsane-back-gtk.c')
-rw-r--r--src/xsane-back-gtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xsane-back-gtk.c b/src/xsane-back-gtk.c
index 4701dc6..bca9eb2 100644
--- a/src/xsane-back-gtk.c
+++ b/src/xsane-back-gtk.c
@@ -1130,6 +1130,10 @@ static void xsane_back_gtk_filetype2_callback(GtkWidget *widget, gpointer data)
}
snprintf(filename, sizeof(filename), "%s%s", chooser_filename, new_filetype);
}
+ else
+ {
+ snprintf(filename, sizeof(filename), "%s", chooser_filename);
+ }
if (filechooser_filetype)
{