diff --git a/src/fzenity/main.c b/src/fzenity/main.c index 9d897b503b8..cf024c32cb7 100644 --- a/src/fzenity/main.c +++ b/src/fzenity/main.c @@ -74,7 +74,7 @@ char *print_line(char *in, int col) { if (*ptr == '\n') { *ptr++ = '\0'; printf("%s\n", in); - return ptr++; + return ptr; } else if (i == col) { while (*ptr != ' ' && ptr != in)