summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 208fb7e)
raw | patch | inline | side by side (parent: 208fb7e)
author | Max Kellermann <max@duempel.org> | |
Thu, 25 Sep 2008 15:42:57 +0000 (17:42 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 25 Sep 2008 15:42:57 +0000 (17:42 +0200) |
The property "repaint" is never read, since all callers repaint the
list window on demand.
list window on demand.
src/list_window.c | patch | blob | history | |
src/list_window.h | patch | blob | history | |
src/screen_utils.c | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index e69f6ac04ee3d17885434b062fd83f747ae7aff3..82df1350b57086df8eb5b6ae949c6e003b41315e 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
else
lw->start = 0;
}
-
- lw->repaint = 1;
}
void
return 0;
}
- lw->repaint = 1;
return 1;
}
return 0;
}
- lw->repaint = 1;
return 1;
}
diff --git a/src/list_window.h b/src/list_window.h
index 9a348a26ab2db53050b4e51741e817c6e89b9b9f..c85bc750f743687aa7d93c02f9f26ffc84d45f8c 100644 (file)
--- a/src/list_window.h
+++ b/src/list_window.h
unsigned start;
unsigned selected;
unsigned xoffset;
- int repaint;
int flags;
} list_window_t;
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 6ee1eba68fbf392de6ea5b8c0d7d54697545cde2..6029596bdc47ea43488f93f08c48b912dd86f3f0 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
screen->findbuf,
options.find_wrap);
- if (retval == 0)
- lw->repaint = 1;
- else {
+ if (retval != 0) {
screen_status_printf(_("Unable to find \'%s\'"), screen->findbuf);
screen_bell();
}