don't initialize i to itself

This commit is contained in:
Sascha Kruse 2012-07-13 10:19:02 +02:00
parent bbb02527b1
commit 4507b704e0

View File

@ -542,7 +542,7 @@ void handle_mouse_click(XEvent ev)
move_all_to_history();
} else if (ev.xbutton.button == Button1) {
int i = ev.xbutton.y / font_h;
for (i = i; i > 0; i--) {
for (; i > 0; i--) {
/* if the user clicks on the "(x more)" message,
* keep iter at the last displayed message and
* remove that instead