mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-08 08:00:34 +00:00
Added comment for non-obvious code, fixed option name in nib2cib
This commit is contained in:
1 parent
f93aa2c5bc
commit
10bfeaf8f7
2 files changed
+2
-1
No files matched your search
@@ -311,6 +311,7 @@ var CPFontNameKey = @"CPFontNameKey",
|
||||
isBold = [aCoder decodeBoolForKey:CPFontIsBoldKey],
|
||||
isItalic = [aCoder decodeBoolForKey:CPFontIsItalicKey];
|
||||
|
||||
// Substitute configured font for legacy font
|
||||
if (fontName === _CPFontDefaultSystemFontFace && _CPFontDefaultSystemFontFace !== _CPFontSystemFontFace)
|
||||
{
|
||||
fontName = _CPFontSystemFontFace;
|
||||
|
||||
@@ -54,7 +54,7 @@ parser.option("--mac", "format")
|
||||
.def(NibFormatUndetermined)
|
||||
.help("Set format to Mac");
|
||||
|
||||
parser.option("--legacy", "conversionMode")
|
||||
parser.option("--legacy", "layoutMode")
|
||||
.set(ConverterModeLegacy)
|
||||
.def(ConverterModeNew)
|
||||
.help("Use legacy code that does not preserve view positioning/sizing");
|
||||
|
||||
Reference in new issue
Block a user