In the original code:
s.Printf(wxFileNameFromPath(parOutput) + wxT("$%03i-") + name2, i);
if wxFileNameFromPath(parOutput2)
or name2
had contained '%'
(format specifiers), the results would have been bad.
These strings are now given as additional arguments to Printf
(corresponding to "%s"
format specifiers),
and the format string argument itself is now constant.
This is a replacement of 9a5d32d as per #24437 (comment).
https://github.com/wxWidgets/wxWidgets/pull/24547
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Applying as well, thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
You are most welcome, thank you for this and for all your work !! 🌈
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.