gimme that

This commit is contained in:
LinlyBoi
2023-08-22 22:14:12 +03:00
parent 3a53d1d5ad
commit 1dea5b6dbd

View File

@@ -21,6 +21,7 @@ int _printf(const char *format, ...)
return (0); return (0);
buff_idx = fmt_idx = printed = 0; /*chain assignment*/ buff_idx = fmt_idx = printed = 0; /*chain assignment*/
_memset(buffer, 0);
while (*(format + fmt_idx)) while (*(format + fmt_idx))
{ {
if ((*(format + fmt_idx) == '%') && (*(format + fmt_idx + 1))) if ((*(format + fmt_idx) == '%') && (*(format + fmt_idx + 1)))