
9 Jan
2006
9 Jan
'06
8:44 a.m.
Hi Tilman, On Thursday 05 January 2006 14:57, you wrote:
see src/program_options/winmain.cpp:
#ifndef BOOST_NO_STD_WSTRING BOOST_PROGRAM_OPTIONS_DECL std::vector<std::wstring> split_winmain(const std::wstring& cmdline) { vector<wstring> result; vector<string> aux = split_winmain(to_internal(cmdline)); --> for (unsigned i = 0, e = result.size(); i < e; ++i) result.push_back(from_utf8(aux[i])); return result; } #endif
Correct ist (aux and not result!):
for (unsigned i = 0, e = aux.size(); i < e; ++i)
You're right, the change is just committed. Thanks! BTW, it's better to send proposed code changes to the Boost mailing list, so that other users are aware. Thanks, Volodya