From b135a8f15fe8bf562e0202e4a1e4e796e2eb1b20 Mon Sep 17 00:00:00 2001 From: ayin Date: Wed, 6 Feb 2008 12:05:35 +0000 Subject: [PATCH] Move a variable to the scope where it is used. --- src/main.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.C b/src/main.C index 4a820884..9effb70b 100644 --- a/src/main.C +++ b/src/main.C @@ -803,7 +803,6 @@ rxvt_term::set_window_color (int idx, const char *color) { #ifdef XTERM_COLOR_CHANGE rxvt_color xcol; - int i; if (color == NULL || *color == '\0') return; @@ -815,7 +814,7 @@ rxvt_term::set_window_color (int idx, const char *color) /* handle color aliases */ if (isdigit (*color)) { - i = atoi (color); + int i = atoi (color); if (i >= 8 && i <= 15) { -- 2.34.1