mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-06-02 23:48:46 +02:00
GetRegionFromTXT: find line feed character rather than carriage return
This commit is contained in:
parent
8b7e126911
commit
bec347eadf
|
@ -175,7 +175,7 @@ static bool GetRegionFromTXT(char* region)
|
||||||
if(current)
|
if(current)
|
||||||
{
|
{
|
||||||
char* start = strchr(current, '=');
|
char* start = strchr(current, '=');
|
||||||
char* end = strchr(current, '\r');
|
char* end = strchr(current, '\n');
|
||||||
|
|
||||||
if (start && end)
|
if (start && end)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user