summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c1f760)
raw | patch | inline | side by side (parent: 1c1f760)
author | Max Kellermann <max@duempel.org> | |
Fri, 9 Oct 2009 19:23:03 +0000 (21:23 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 9 Oct 2009 19:23:03 +0000 (21:23 +0200) |
Paint the space with waddch() instead of waddstr(). Removed the
second cursor movement, it's redundant.
second cursor movement, it's redundant.
src/list_window.c | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index a7c637ae2081543cb1eafafea45bd4155f8cd555..9278bddad1575e9b29dbdc89c68b38b3eb2e90bc 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
unsigned second_column_width = utf8_width(second_column) + 1;
if (width > second_column_width) {
wmove(w, y, width - second_column_width);
- waddstr(w, " ");
- wmove(w, y, width - second_column_width + 1);
+ waddch(w, ' ');
waddstr(w, second_column);
}
}