From 274769cc62835137f90e8b9e23a3dd7aacc2627d Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 4 Nov 2011 17:59:55 -0500 Subject: fix a shadowed var --- xxxterm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xxxterm.c b/xxxterm.c index 465d0e9..3c6c31b 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -6406,13 +6406,13 @@ arrow_cb(GtkWidget *w, GdkEventButton *event, gpointer user_data) } int -icon_size_map(int icon_size) +icon_size_map(int iconsz) { - if (icon_size <= GTK_ICON_SIZE_INVALID || - icon_size > GTK_ICON_SIZE_DIALOG) + if (iconsz <= GTK_ICON_SIZE_INVALID || + iconsz > GTK_ICON_SIZE_DIALOG) return (GTK_ICON_SIZE_SMALL_TOOLBAR); - return (icon_size); + return (iconsz); } GtkWidget * -- cgit 1.4.1-2-gfad0