From 02b65e6dfbe08f5e5a2c3787c4813e6ea797ce45 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Fri, 25 May 2012 18:06:05 -0700 Subject: [PATCH] Fix a bug in Nib2Cib.j when configInfo is null --- Tools/nib2cib/Nib2Cib.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/nib2cib/Nib2Cib.j b/Tools/nib2cib/Nib2Cib.j index 6c2fac4d1..20a9942e9 100644 --- a/Tools/nib2cib/Nib2Cib.j +++ b/Tools/nib2cib/Nib2Cib.j @@ -127,6 +127,8 @@ var FILE = require("file"), if (systemFontSize) [CPFont setSystemFontSize:parseFloat(systemFontSize, 10)]; } + else + infoPlist = [CPDictionary dictionary]; var themeList = [self getThemeList:options], themes = [self loadThemesFromList:themeList];