mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 23:09:52 +00:00
Extend ucd_property to 64-bits to allow all properties to be specified.
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ void uprintf(FILE *out, codepoint_t c, const char *format)
|
||||
uprintf_codepoint(out, c, *++format);
|
||||
break;
|
||||
case 'P': // properties
|
||||
fprintf(out, "%08x", ucd_properties(c, ucd_lookup_category(c)));
|
||||
fprintf(out, "%016x", ucd_properties(c, ucd_lookup_category(c)));
|
||||
break;
|
||||
case 'i': // is*
|
||||
uprintf_is(out, c, *++format);
|
||||
|
||||
@@ -161,7 +161,7 @@ void uprintf(FILE *out, codepoint_t c, const char *format)
|
||||
uprintf_codepoint(out, c, *++format);
|
||||
break;
|
||||
case 'P': // properties
|
||||
fprintf(out, "%08x", ucd_properties(c, ucd_lookup_category(c)));
|
||||
fprintf(out, "%016x", ucd_properties(c, ucd_lookup_category(c)));
|
||||
break;
|
||||
case 'i': // is*
|
||||
uprintf_is(out, c, *++format);
|
||||
|
||||
@@ -161,7 +161,7 @@ void uprintf(FILE *out, ucd::codepoint_t c, const char *format)
|
||||
uprintf_codepoint(out, c, *++format);
|
||||
break;
|
||||
case 'P': // properties
|
||||
fprintf(out, "%08x", ucd::properties(c, ucd::lookup_category(c)));
|
||||
fprintf(out, "%016x", ucd::properties(c, ucd::lookup_category(c)));
|
||||
break;
|
||||
case 'i': // is*
|
||||
uprintf_is(out, c, *++format);
|
||||
|
||||
Reference in New Issue
Block a user