From 96b92dfa3cb0a3ae876a3e650984a404327cdf93 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 3 Oct 2014 14:05:23 +0000 Subject: Imported Upstream version 0.99+0.991 --- src/xsane-setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xsane-setup.c') 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"); -- cgit v1.2.3