From 6a5e971bd28eed425aa7b3fd35dc9dee4465d4fe Mon Sep 17 00:00:00 2001 From: farisawan-2000 Date: Wed, 16 Dec 2020 01:12:08 -0500 Subject: [PATCH] shelved s2d_vsprint --- s2d_parse.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/s2d_parse.c b/s2d_parse.c index 1f7b44c3..98f6178c 100644 --- a/s2d_parse.c +++ b/s2d_parse.c @@ -107,16 +107,16 @@ void s2d_type_print(int x, int y, const char *str, uObjMtx *buf, int *pos) { } } -void s2d_vsprint(int x, int y, uObjMtx *buf, const char *str, ...) { - int last_chr; - va_list args; - char *dst = alloc(s2d_strlen(str) * 2); - va_start(args, str); - last_chr = vsprintf(dst, str, str, args); - if (last_chr >= 0) { - dst[last_chr] = '\0'; - } - s2d_print(x, y, dst, buf); -} +// void s2d_vsprint(int x, int y, uObjMtx *buf, const char *str, ...) { +// int last_chr; +// va_list args; +// char *dst = alloc(s2d_strlen(str) * 2); +// va_start(args, str); +// last_chr = vsprintf(dst, str, str, args); +// if (last_chr >= 0) { +// dst[last_chr] = '\0'; +// } +// s2d_print(x, y, dst, buf); +// }