Commit MetaInfo

Revisione67cc2bd363200c9dc7c9076811b9eacae08b0f6 (tree)
Zeit2018-12-10 01:23:32
AutorStarg <starg@user...>
CommiterStarg

Log Message

Unicode support for pathsep_strchr

Ändern Zusammenfassung

Diff

--- a/timidity/common.c
+++ b/timidity/common.c
@@ -1647,7 +1647,7 @@ static int is_sjis_leadbyte(char c)
16471647
16481648 char *pathsep_strchr(const char *path)
16491649 {
1650-#if defined(__W32__) // sjis
1650+#if defined(__W32__) && defined(JAPANESE) && !defined(UNICODE) // sjis
16511651 int tail = 0;
16521652 while (*path)
16531653 {
@@ -1686,7 +1686,7 @@ char *pathsep_strchr(const char *path)
16861686
16871687 char *pathsep_strrchr(const char *path)
16881688 {
1689-#if defined(__W32__) // sjis
1689+#if defined(__W32__) && defined(JAPANESE) && !defined(UNICODE) // sjis
16901690 char *last_sep = NULL;
16911691 int tail = 0;
16921692 while (*path)
Show on old repository browser