mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +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;
|
||||
|
||||
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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue