summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
02eae24)
Unbreaks start-up on WinCE.
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
}
#elif defined(HAVE_DL_WINDOWS) && defined(UNDER_CE)
}
#elif defined(HAVE_DL_WINDOWS) && defined(UNDER_CE)
- wchar_t wide[sizeof( psz_function ) + 1];
- size_t i;
+ wchar_t wide[strlen( psz_function ) + 1];
+ size_t i = 0;
do
wide[i] = psz_function[i]; /* UTF-16 <- ASCII */
while( psz_function[i++] );
do
wide[i] = psz_function[i]; /* UTF-16 <- ASCII */
while( psz_function[i++] );