GetRegionFromTXT: find line feed character rather than carriage return

This commit is contained in:
Naim2000 2024-01-30 10:41:17 -05:00
parent 8b7e126911
commit bec347eadf
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{