Browse Source

b=491292, r=mfinkle, Spaces in app name cause incorrect menu name on OS X

matthew.gertner@gmail.com 15 years ago
parent
commit
0e7e511314
1 changed files with 1 additions and 1 deletions
  1. 1 1
      newapp/modules/WebAppInstall.jsm

+ 1 - 1
newapp/modules/WebAppInstall.jsm

@@ -402,7 +402,7 @@ var WebAppInstall =
     infoPlistStrings.append("en.lproj");
     infoPlistStrings.create(Ci.nsIFile.DIRECTORY_TYPE, PR_PERMS_DIRECTORY);
     infoPlistStrings.append("InfoPlist.strings");
-    FileIO.stringToFile("CFBundleName = " + name + ";\n", infoPlistStrings, "UTF-16");
+    FileIO.stringToFile("CFBundleName = \"" + name + "\";\n", infoPlistStrings, "UTF-16");
 
     if (extensionDir) {
       // Can't use the Firefox stub so we need to use the XR stub supplied with the extension