diff --git a/printf.c b/printf.c index 6eca84b..13deb7e 100644 --- a/printf.c +++ b/printf.c @@ -36,7 +36,7 @@ int _printf(const char *format, ...) buff_idx = 0; } printed += fmt(*(format + fmt_idx + 1), args); - fmt_idx += 2; + fmt_idx += 2; } else *(buffer + buff_idx++) = *(format + fmt_idx++); /* filling up buffer */