瀏覽代碼

Add newline after config_version and fix custom_features hint

Fixes #9818.
Rémi Verschelde 8 年之前
父節點
當前提交
e4fe194fe5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/project_settings.cpp

+ 2 - 1
core/project_settings.cpp

@@ -602,7 +602,8 @@ Error ProjectSettings::_save_settings_text(const String &p_file, const Map<Strin
 
 	file->store_string("config_version=" + itos(FORMAT_VERSION) + "\n");
 	if (p_custom_features != String())
-		file->store_string("_custom_featores=\"" + p_custom_features + "\"\n");
+		file->store_string("custom_features=\"" + p_custom_features + "\"\n");
+	file->store_string("\n");
 
 	for (Map<String, List<String> >::Element *E = props.front(); E; E = E->next()) {