Fixed gnprintf's translation parameter reordering (bug 4010, r=dvander)

This commit is contained in:
Matt Woodrow 2009-09-16 13:38:04 +12:00
parent caadb7fa27
commit 77de71d79d

View File

@ -857,7 +857,7 @@ try_again:
memcpy(new_params, params, sizeof(void *) * numparams);
for (i = 0; i < trans.fmt_count; i++)
{
new_params[i] = const_cast<void *>(params[curparam + trans.fmt_order[i]]);
new_params[curparam + i] = const_cast<void *>(params[curparam + trans.fmt_order[i]]);
}
if (!gnprintf(buf_p,