diff options
author | Julien BLACHE <jblache@debian.org> | 2006-01-24 23:14:44 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:26 +0000 |
commit | 9d7d5dc7bfe282d0e3df4ea4111fa4a37f1629a2 (patch) | |
tree | dea383223c2d0e5bbe2012bbc36814fe68112b93 /src/xsane-setup.c | |
parent | a1871913efc67d71e7b355a8a03655cbf12ab07f (diff) | |
parent | 96b92dfa3cb0a3ae876a3e650984a404327cdf93 (diff) |
Imported Debian patch 0.99+0.991-1debian/0.99+0.991-1
Diffstat (limited to 'src/xsane-setup.c')
-rw-r--r-- | src/xsane-setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xsane-setup.c b/src/xsane-setup.c index f97e7ef..c0c9000 100644 --- a/src/xsane-setup.c +++ b/src/xsane-setup.c @@ -242,7 +242,7 @@ static int xsane_update_double(GtkWidget *widget, double *val) static void xsane_setup_printer_update() { - char buf[256]; + char buf[TEXTBUFSIZE]; DBG(DBG_proc, "xsane_setup_printer_update\n"); @@ -1327,8 +1327,8 @@ static void xsane_printer_notebook(GtkWidget *notebook) static void xsane_setup_browse_tmp_path_callback(GtkWidget *widget, gpointer data) { const gchar *old_tmp_path; - char tmp_path[256]; - char windowname[256]; + char tmp_path[PATH_MAX]; + char windowname[TEXTBUFSIZE]; DBG(DBG_proc, "xsane_setup_browse_tmp_path_callback\n"); |