From d7a27d4a845b2f057f45c1103a4aa5fa43406c82 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 1 Jul 2018 14:17:54 +0000 Subject: [PATCH] fixed a minor flaw in a sample program --- qse/samples/cmn/str01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qse/samples/cmn/str01.c b/qse/samples/cmn/str01.c index e3707e4c..1d502218 100644 --- a/qse/samples/cmn/str01.c +++ b/qse/samples/cmn/str01.c @@ -253,6 +253,7 @@ qse_char_t* subst (qse_char_t* buf, qse_size_t bsz, const qse_cstr_t* ident, voi static int test13 (void) { qse_char_t buf[24]; + qse_char_t buf2[48]; qse_size_t i, j; for (i = 0; i <= QSE_COUNTOF(buf); i++) @@ -270,7 +271,6 @@ static int test13 (void) qse_printf (QSE_T("]\n")); } - qse_char_t buf2[48]; for (i = 0; i <= QSE_COUNTOF(buf2); i++) {