From 20507c58a89ec659928b173936a9bfc0fba3ef10 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 25 Feb 2023 15:18:14 +0800 Subject: [PATCH] Update string functions, midi-utils Fix midi-utils bug --- src/packages/stdinc/IZ_string.c | 2 +- subprojects/midi-utils | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/stdinc/IZ_string.c b/src/packages/stdinc/IZ_string.c index a53ebe1..9f15923 100644 --- a/src/packages/stdinc/IZ_string.c +++ b/src/packages/stdinc/IZ_string.c @@ -26,7 +26,7 @@ errno_t IZ_strlwr(char* dest, const char* str, rsize_t str_size) { } return _strlwr_s(dest, str_size); #else - memcpy(dest, str, str_size -1); + memcpy(dest, str, str_size - 1); for (unsigned int i = 0; i < str_size; i += 1) { if ('A' <= dest[i] && dest[i] <= 'Z') { dest[i] += 0x20; diff --git a/subprojects/midi-utils b/subprojects/midi-utils index dc3396c..04b34ae 160000 --- a/subprojects/midi-utils +++ b/subprojects/midi-utils @@ -1 +1 @@ -Subproject commit dc3396c806d500802cb8a8dad15d3e46a9621954 +Subproject commit 04b34ae8ffd6527c0d9f87a09e96e09d0fc59f7f