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:
3709a15
)
Move a variable to the scope where it is used.
author
ayin
<ayin>
Thu, 14 Feb 2008 23:51:46 +0000
(23:51 +0000)
committer
ayin
<ayin>
Thu, 14 Feb 2008 23:51:46 +0000
(23:51 +0000)
src/command.C
patch
|
blob
|
history
diff --git
a/src/command.C
b/src/command.C
index 918ebced1ae7ee40c822a6a05b2f375ad87cf341..9b71322245c6ed3806c7159c1cea574820155136 100644
(file)
--- a/
src/command.C
+++ b/
src/command.C
@@
-304,7
+304,6
@@
void
rxvt_term::key_press (XKeyEvent &ev)
{
int ctrl, meta, shft, len;
- unsigned int newlen;
KeySym keysym;
int valid_keysym;
char kbuf[KBUFSZ];
@@
-551,7
+550,7
@@
rxvt_term::key_press (XKeyEvent &ev)
{
{
bool kp = priv_modes & PrivMode_aplKP ? !shft : shft;
- newlen = 1;
+
unsigned int
newlen = 1;
#ifdef XK_KP_Home
static const KeySym keypadtrans[] = {
XK_KP_7, // XK_KP_Home