diff options
-rw-r--r-- | src/fzenity/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fzenity/main.c b/src/fzenity/main.c index 9d897b503..cf024c32c 100644 --- a/src/fzenity/main.c +++ b/src/fzenity/main.c | |||
@@ -74,7 +74,7 @@ char *print_line(char *in, int col) { | |||
74 | if (*ptr == '\n') { | 74 | if (*ptr == '\n') { |
75 | *ptr++ = '\0'; | 75 | *ptr++ = '\0'; |
76 | printf("%s\n", in); | 76 | printf("%s\n", in); |
77 | return ptr++; | 77 | return ptr; |
78 | } | 78 | } |
79 | else if (i == col) { | 79 | else if (i == col) { |
80 | while (*ptr != ' ' && ptr != in) | 80 | while (*ptr != ' ' && ptr != in) |