Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
This commit is contained in:
parent
fc1ffcc528
commit
a7af902f2f
19 changed files with 26 additions and 26 deletions
|
@ -98,7 +98,7 @@ static void LoadMessageFile(const char * fname) {
|
|||
strcpy(name,linein+1);
|
||||
/* End of string marker */
|
||||
} else if (linein[0]=='.') {
|
||||
/* Replace/Add the string to the internal langaugefile */
|
||||
/* Replace/Add the string to the internal languagefile */
|
||||
/* Remove last newline (marker is \n.\n) */
|
||||
size_t ll = strlen(string);
|
||||
if(ll && string[ll - 1] == '\n') string[ll - 1] = 0; //Second if should not be needed, but better be safe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue