GetStringVA fix for "%%"s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1734 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a2a5d0a066
commit
2e0269ae39
|
@ -82,12 +82,18 @@ void GetStringVA(std::string& _rOutBuffer)
|
|||
//PanicAlert("Invalid GetStringVA call");
|
||||
return;
|
||||
}
|
||||
|
||||
while(*pString)
|
||||
{
|
||||
if (*pString == '%')
|
||||
{
|
||||
char* pArgument = ArgumentBuffer;
|
||||
*pArgument++ = *pString++;
|
||||
if(*pString == '%') {
|
||||
_rOutBuffer += "%";
|
||||
pString++;
|
||||
continue;
|
||||
}
|
||||
while(*pString < 'A' || *pString > 'z' || *pString == 'l' || *pString == '-')
|
||||
*pArgument++ = *pString++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue