Fixed gnprintf's translation parameter reordering (bug 4010, r=dvander)
This commit is contained in:
parent
caadb7fa27
commit
77de71d79d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user