projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04fd275
)
Move a variable to the scope where it is used.
author
ayin
<ayin>
Wed, 6 Feb 2008 12:05:35 +0000
(12:05 +0000)
committer
ayin
<ayin>
Wed, 6 Feb 2008 12:05:35 +0000
(12:05 +0000)
src/main.C
patch
|
blob
|
history
diff --git
a/src/main.C
b/src/main.C
index
4a82088
..
9effb70
100644
(file)
--- 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);
+ i
nt i
= atoi (color);
if (i >= 8 && i <= 15)
{