r=bryner, sr=blizzard (platform specific(
OS/2 only - null terminate font string


git-svn-id: svn://10.0.0.236/trunk@155582 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com 2004-04-27 14:44:06 +00:00
parent 22fc4388d3
commit 347feaba08

View File

@ -390,6 +390,9 @@ void QueryFontFromINI(char* fontType, char* fontName, ULONG ulLength)
else
strcpy(fontName, "10.Helv Combined");
}
} else {
/* null terminate fontname */
fontName[ulMaxNameL] = '\0';
}
}