Added comment for non-obvious code, fixed option name in nib2cib

This commit is contained in:
Aparajita Fishman committed 2011-03-10 12:49:50 -05:00
1 parent f93aa2c5bc
commit 10bfeaf8f7
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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;
+1 -1
View File
@@ -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");