mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
[NEWINFLIB]
- use _snwprintf instead of swprintf (MSVC is not compliant with standard here) svn path=/trunk/; revision=54793
This commit is contained in:
parent
10ce3354a3
commit
000fca5bd8
1 changed files with 8 additions and 6 deletions
|
@ -48,7 +48,8 @@ InfpGetSubstitutionString(PINFCACHE Inf,
|
||||||
|
|
||||||
if (Inf->LanguageId != 0)
|
if (Inf->LanguageId != 0)
|
||||||
{
|
{
|
||||||
swprintf(StringLangId,
|
_snwprintf(StringLangId,
|
||||||
|
13,
|
||||||
L"Strings.%04hx",
|
L"Strings.%04hx",
|
||||||
Inf->LanguageId);
|
Inf->LanguageId);
|
||||||
|
|
||||||
|
@ -58,7 +59,8 @@ InfpGetSubstitutionString(PINFCACHE Inf,
|
||||||
&Context);
|
&Context);
|
||||||
if (Status != INF_STATUS_SUCCESS)
|
if (Status != INF_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
swprintf(StringLangId,
|
_snwprintf(StringLangId,
|
||||||
|
13,
|
||||||
L"Strings.%04hx",
|
L"Strings.%04hx",
|
||||||
MAKELANGID(PRIMARYLANGID(Inf->LanguageId), SUBLANG_NEUTRAL));
|
MAKELANGID(PRIMARYLANGID(Inf->LanguageId), SUBLANG_NEUTRAL));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue