r=bryner, sr=blizzard (platform specific(
OS/2 only - null terminate font string
This commit is contained in:
mkaply%us.ibm.com 2004-04-27 14:44:06 +00:00
parent 3e79176e67
commit 9c3b382f9c

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';
}
}