ICU-68 U_STRING_DECL had wrong const where it needs dynamic initialization
X-SVN-Rev: 341
This commit is contained in:
parent
326770fa58
commit
ca50ccf710
@ -201,7 +201,7 @@ U_CAPI char* U_EXPORT2 u_austrcpy(char *s1,
|
||||
# define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]={ (const UChar *)cs }
|
||||
# define U_STRING_INIT(var, cs, length)
|
||||
#else
|
||||
# define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]
|
||||
# define U_STRING_DECL(var, cs, length) static UChar var[(length)+1]
|
||||
# define U_STRING_INIT(var, cs, length) u_charsToUChars(cs, var, length+1)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user