summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 7b1e339..11ee426 100644
--- a/ui.c
+++ b/ui.c
@@ -234,7 +234,7 @@ static void styleAdd(WINDOW *win, const char *str) {
 		if (*str == ' ') {
 			getyx(win, y, x);
 			const char *word = &str[strspn(str, " ")];
-			if (width - x - 1 < wordWidth(word)) {
+			if (width - x - 1 <= wordWidth(word)) {
 				waddch(win, '\n');
 				str = word;
 			}
commit/ui-shared.c?id=b5a3a2049648415e86d518a8bf2229b3e463b10f&follow=1'>Add head-include configuration option.Mark Lodato 2009-03-15CGIT 0.8.2.1Lars Hjemli 2009-03-15Fix doc-related glitches in Makefile and .gitignoreLars Hjemli 2009-03-15ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli 2009-03-15fix segfault when displaying empty blobsEric Wong 2009-02-19Add support for HEAD requestsLars Hjemli 2009-02-19Add support for ETag in 'plain' viewLars Hjemli 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli 2009-02-12Makefile: add doc-related targetsLars Hjemli