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)
|
||||
{
|
||||
char* start = strchr(current, '=');
|
||||
char* end = strchr(current, '\r');
|
||||
char* end = strchr(current, '\n');
|
||||
|
||||
if (start && end)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue