Skip to content

Commit fffd0ad

Browse files
committed
修复双倍配置的问题
1 parent 8753463 commit fffd0ad

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CodeService/src/Config/LuaEditorConfig.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ std::shared_ptr<LuaEditorConfig> LuaEditorConfig::LoadFromFile(const std::string
1313
std::stringstream s;
1414
s << fin.rdbuf();
1515
auto editorConfig = std::make_shared<LuaEditorConfig>(s.str());
16-
editorConfig->Parse();
1716
return editorConfig;
1817
}
1918

Util/src/StringUtil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ std::string string_util::Replace(std::string_view source, std::string_view oldSt
7373
}
7474

7575
std::string result;
76-
// ����ֻ��һ���滻
76+
7777
result.reserve(source.size() - oldString.size() + newString.size());
7878

7979
while (true)
@@ -191,7 +191,7 @@ bool string_util::FileWildcardMatch(std::string_view sourceFile, std::string_vie
191191
return match;
192192
}
193193

194-
// glibc ����
194+
// glibc
195195
int __strncasecmp(const char* s1, const char* s2, int n)
196196
{
197197
if (n && s1 != s2)

0 commit comments

Comments
 (0)