diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 16:20:28 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 16:20:28 +0200 |
commit | 23337be110e44acd2f922fed0c92c5130abc1bba (patch) | |
tree | 577707fbcd4ffa280c3e1644e4ce48f06de7defd /src/xsane-back-gtk.c | |
parent | ca9f280d0ac4173cdd29f745fd574a3b597969e7 (diff) |
Imported Upstream version 0.999
Diffstat (limited to 'src/xsane-back-gtk.c')
-rw-r--r-- | src/xsane-back-gtk.c | 4 |
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) { |