Misspelled variable "candiate"

All uses have the same misspelling, so this wasn't a functionality bug, but still better to have things spelled correctly in the source. ^_^
This commit is contained in:
Tab Atkins Jr
2016-12-16 13:12:45 -08:00
committed by GitHub
parent fdebbe3a18
commit d43f24ea91

View File

@@ -463,11 +463,11 @@ groupTypes.genfrac = function(group, options) {
var frac; var frac;
if (ruleWidth === 0) { if (ruleWidth === 0) {
// Rule 15c // Rule 15c
var candiateClearance = var candidateClearance =
(numShift - numer.depth) - (denom.height - denomShift); (numShift - numer.depth) - (denom.height - denomShift);
if (candiateClearance < clearance) { if (candidateClearance < clearance) {
numShift += 0.5 * (clearance - candiateClearance); numShift += 0.5 * (clearance - candidateClearance);
denomShift += 0.5 * (clearance - candiateClearance); denomShift += 0.5 * (clearance - candidateClearance);
} }
frac = buildCommon.makeVList([ frac = buildCommon.makeVList([