about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorStacy Harper <contact@stacyharper.net>2021-08-26 22:17:25 +0200
committerJohn Sullivan <jsullivan@csumb.edu>2021-10-19 23:12:01 -0700
commitfc4af5b9756623d6661339e350ab0ce0f77cf7f5 (patch)
treeba0fb9becd99097590715615dead5cb9d8c9242c /main.c
parent9bf66933762df81aeb33b1a2b377f8bfc77572b3 (diff)
downloadsuggpicker-fc4af5b9756623d6661339e350ab0ce0f77cf7f5.tar.gz
Fix normal_height when using argument
This was overrided with rotation cause we dont save it
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f4f2ce6..b55174c 100644
--- a/main.c
+++ b/main.c
@@ -434,7 +434,7 @@ main(int argc, char **argv) {
 				usage(argv[0]);
 				exit(1);
 			}
-			height = atoi(argv[++i]);
+			height = normal_height = atoi(argv[++i]);
 		} else if (!strcmp(argv[i], "-L")) {
 			if (i >= argc - 1) {
 				usage(argv[0]);