fixed logging system.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1021
This commit is contained in:
parent
b81081ed2b
commit
0824f2e456
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ static void LOG_Init(Section * sec) {
|
|||
char buf[1024];
|
||||
for (Bitu i=1;i<LOG_MAX;i++) {
|
||||
strcpy(buf,loggrp[i].front);
|
||||
buf[strlen(buf)-1]=0;
|
||||
buf[strlen(buf)]=0;
|
||||
lowcase(buf);
|
||||
loggrp[i].enabled=sect->Get_bool(buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue