summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 988935d..46d186c 100644
--- a/main.c
+++ b/main.c
@@ -501,18 +501,18 @@ int main(void) {
 			cur = posts.len - 1;
 			break;
 		case ' ':
-		case 'd':
 		case KEY_NPAGE:
 			cur = line_skip(cur, &gfx, PAGE_LEN);
 			break;
+		case 'd':
 		case 0x04 /* ^D */:
 			cur = line_skip(cur, &gfx, HALF_PAGE_LEN);
 			break;
 		case 'b':
-		case 'u':
 		case KEY_PPAGE:
 			cur = line_skip(cur, &gfx, -PAGE_LEN);
 			break;
+		case 'u':
 		case 0x15 /* ^U */:
 			cur = line_skip(cur, &gfx, -HALF_PAGE_LEN);
 			break;