Commit d56caa55a3f3b7d8102515dbdbb6490ee850aab4

Stefan Sperling 2018-05-20T15:21:20

wrap overlong line

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tog/tog.c b/tog/tog.c
index bfd5b21..3e8076c 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -878,7 +878,8 @@ show_diff_view(struct got_object *obj1, struct got_object *obj2,
 				break;
 			case KEY_PPAGE:
 				i = 0;
-				while (i++ < LINES - 1 && first_displayed_line > 1)
+				while (i++ < LINES - 1 &&
+				    first_displayed_line > 1)
 					first_displayed_line--;
 				break;
 			case 'j':