소스 검색

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()) {