comparison src/intl-win32.c @ 2658:a48989ca6db3

[xemacs-hg @ 2005-03-13 09:20:58 by crestani] Fix native Windows build if DEBUG_XEMACS is not defined. * alloc.c (MALLOC_BEGIN): Remove unused parameter. * intl-win32.c (unicode_multibyte_convert_size): Move function call out of assert.
author crestani
date Sun, 13 Mar 2005 09:21:04 +0000
parents 3d8143fc88e1
children 9905c1e522b8
comparison
equal deleted inserted replaced
2657:48e27e1d7e63 2658:a48989ca6db3
1970 Bytecount 1970 Bytecount
1971 unicode_multibyte_convert_size (const char *srctext, const void *src, 1971 unicode_multibyte_convert_size (const char *srctext, const void *src,
1972 Bytecount src_size, int to_unicode, int cp) 1972 Bytecount src_size, int to_unicode, int cp)
1973 { 1973 {
1974 alloca_convert_vals vals; 1974 alloca_convert_vals vals;
1975 1975
1976 assert (find_pos_of_existing_active_alloca_convert (srctext) < 0); 1976 int pos = find_pos_of_existing_active_alloca_convert (srctext);
1977 assert (pos < 0);
1977 1978
1978 vals.srctext = srctext; 1979 vals.srctext = srctext;
1979 1980
1980 unicode_multibyte_convert_now_damn_it (src, src_size, to_unicode, &vals.dst, 1981 unicode_multibyte_convert_now_damn_it (src, src_size, to_unicode, &vals.dst,
1981 &vals.dst_size, cp); 1982 &vals.dst_size, cp);