1
0
Fork 0

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:
Peter Veenstra 2011-12-08 12:47:04 +00:00
parent fc1ffcc528
commit a7af902f2f
19 changed files with 26 additions and 26 deletions

View file

@ -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.