Rev 7252 | Rev 7759 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7252 | Rev 7746 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | new_buf = mem_Alloc(in_len); |
35 | new_buf = mem_Alloc(in_len); |
36 | iconv stdcall (cd, #conv_buf, #in_len, #new_buf, #out_len); |
36 | iconv stdcall (cd, #conv_buf, #in_len, #new_buf, #out_len); |
37 | cd = EAX; |
37 | cd = EAX; |
38 | if (cd!=0) |
38 | if (cd!=0) |
39 | { |
39 | { |
40 | debugln("iconv: something is wrong with stdcall iconv()"); |
40 | debugval("iconv: something is wrong with stdcall iconv()", cd); |
41 | debugi(cd); |
- | |
42 | debug("in_len:"); debugi(in_len); |
41 | debugval("in_len", in_len); |
43 | debug("out_len:"); debugi(out_len); |
42 | debugval("out_len", out_len); |
44 | new_buf = free(new_buf); |
43 | new_buf = free(new_buf); |
45 | return 0; |
44 | return 0; |
46 | } |
45 | } |
47 | strcpy(conv_buf, new_buf); |
46 | strcpy(conv_buf, new_buf); |
48 | free(new_buf); |
47 | free(new_buf); |