kopia lustrzana https://gitlab.com/sane-project/frontends
Fixed bug reported by Johannes Meixner, see
http://lists.alioth.debian.org/pipermail/sane-devel/2006-January/015941.htmlmerge-requests/2/head
rodzic
395252831d
commit
5113e3de39
|
@ -1284,7 +1284,7 @@ scan_dialog (GtkWidget * widget, gpointer call_data)
|
|||
{ /* We are running in standalone mode */
|
||||
/* test for pnm formats */
|
||||
strncpy (testfilename, preferences.filename, sizeof (testfilename));
|
||||
testfilename[sizeof (testfilename)] = 0;
|
||||
testfilename[sizeof (testfilename) - 1] = 0;
|
||||
g_strreverse (testfilename);
|
||||
if (!((!strncmp (testfilename, "mnp.", 4)) ||
|
||||
(!strncmp (testfilename, "mgp.", 4)) ||
|
||||
|
|
Ładowanie…
Reference in New Issue