mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-12 14:52:02 +00:00
parent
3b20080637
commit
6982282cc8
1 changed files with 2 additions and 3 deletions
|
@ -183,11 +183,10 @@ namespace Ryujinx.HLE.HOS.Services.Time.TimeZone
|
||||||
{
|
{
|
||||||
int i = namePosition;
|
int i = namePosition;
|
||||||
|
|
||||||
char c = name[i];
|
char c;
|
||||||
|
|
||||||
while (c != '\0' && !char.IsDigit(c) && c != ',' && c != '-' && c != '+')
|
while ((c = name[i]) != '\0' && !char.IsDigit(c) && c != ',' && c != '-' && c != '+')
|
||||||
{
|
{
|
||||||
c = name[i];
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue