mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 09:48:51 +02: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