ICU-68 U_STRING_DECL had wrong const where it needs dynamic initialization

X-SVN-Rev: 341
This commit is contained in:
Markus Scherer 1999-12-08 19:18:10 +00:00
parent 326770fa58
commit ca50ccf710

View File

@ -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