mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-26 03:55:15 +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;
|
||||
|
||||
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