• R/O
  • HTTP
  • SSH
  • HTTPS

timidity41: Commit


Commit MetaInfo

Révisione67cc2bd363200c9dc7c9076811b9eacae08b0f6 (tree)
l'heure2018-12-10 01:23:32
AuteurStarg <starg@user...>
CommiterStarg

Message de Log

Unicode support for pathsep_strchr

Change Summary

Modification

--- 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)
Afficher sur ancien navigateur de dépôt.