Comment 4 for bug 481482

Revision history for this message
Alexander Sack (asac) wrote :

the reason why this is broken is that previously the mangling for long names was done when count reached zero in the TranslateToDos loop ... however, now the buffer is cut before the loop so the count is useless there ...

a cleaner approach than your patch would be to also deal with the !end case in native_to_wchar - which seems to do this already for end != 0 ...

Same patch should probably also drop the count business from the TranslateToDos loop.