mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 19:08:32 +08:00
solve issue #2701
This commit is contained in:
@@ -187,7 +187,7 @@ void LoadMessageFile(const char * fname) {
|
|||||||
strcpy(name,linein+1);
|
strcpy(name,linein+1);
|
||||||
}
|
}
|
||||||
/* End of string marker */
|
/* End of string marker */
|
||||||
} else if (linein[0]=='.') {
|
} else if (linein[0]=='.'&&!strlen(trim(linein+1))) {
|
||||||
/* Replace/Add the string to the internal languagefile */
|
/* Replace/Add the string to the internal languagefile */
|
||||||
/* Remove last newline (marker is \n.\n) */
|
/* Remove last newline (marker is \n.\n) */
|
||||||
size_t ll = strlen(string);
|
size_t ll = strlen(string);
|
||||||
|
Reference in New Issue
Block a user