mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
r=bryner, sr=blizzard (platform specific( OS/2 only - null terminate font string
This commit is contained in:
parent
3e79176e67
commit
9c3b382f9c
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user