diff --git a/AppKit/CPFont.j b/AppKit/CPFont.j index 5bfc16419..c9d53ebe2 100644 --- a/AppKit/CPFont.j +++ b/AppKit/CPFont.j @@ -208,7 +208,7 @@ following: var systemSize = String(_CPFontSystemFontSize), currentSize = String(CPFontCurrentSystemSize); - for (key in _CPSystemFontCache) + for (var key in _CPSystemFontCache) { if (_CPSystemFontCache.hasOwnProperty(key) && (key.indexOf(systemSize) === 0 || key.indexOf(currentSize) === 0))