ide: Topic fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@11518 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-12-02 16:01:08 +00:00
parent edc4fe41c6
commit b7b236449f
2 changed files with 2 additions and 2 deletions

View file

@ -247,7 +247,7 @@ struct StyleDlg;
template <class T>
struct TopicDlg : T {
String GetName() const {
return (String)~T::topic + "@" + ToLower(LNGAsText(~T::lang)) + ".tpp";
return (String)~T::topic + "_" + ToLower(LNGAsText(~T::lang)) + ".tpp";
}
TopicDlg(const char *title) {

View file

@ -5,7 +5,7 @@ void TopicEditor::ListTemplates(Vector<String>& path, Vector<String>& name)
Vector<String> ud = GetUppDirs();
for(int i = 0; i < ud.GetCount(); i++) {
String nest = ud[i];
String tmpl = AppendFileName(nest, "$.tpp");
String tmpl = AppendFileName(nest, "_.tpp");
FindFile ff(AppendFileName(tmpl, "*.tpp"));
while(ff) {
if(ff.IsFile()) {