summaryrefslogtreecommitdiff
path: root/src/xsane-back-gtk.c
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 16:20:34 +0200
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 16:20:34 +0200
commit595e641cf7fa72e091aff56f9eab360a9d9b636b (patch)
tree44c530cb010308f37e42fa60622a3ffd1dd80a29 /src/xsane-back-gtk.c
parentf3a24cbe91087e885e469b77fe733d7c83437aa8 (diff)
parent23337be110e44acd2f922fed0c92c5130abc1bba (diff)
Merge tag 'upstream/0.999'
Upstream version 0.999 # gpg: Signature made Fri 03 Oct 2014 04:20:30 PM CEST using RSA key ID B9444540 # gpg: Good signature from "Mattia Rizzolo <mattia@mapreri.org>" # gpg: aka "Mattia Rizzolo <mapreri@ubuntu.com>" # gpg: aka "Mattia Rizzolo <mapreri@ubuntu-it.org>" # gpg: aka "Mattia Rizzolo <mapreri@gmail.com>" # gpg: aka "[jpeg image of size 4456]" # gpg: aka "[jpeg image of size 4218]"
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)
{