ide: Help fixed for the new topic lang separator ('_')

git-svn-id: svn://ultimatepp.org/upp/trunk@11513 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-12-02 15:41:20 +00:00
parent a590f22267
commit c14a5daa78

View file

@ -49,7 +49,7 @@ void TopicCtrl::ScanDirForTpp(const char *dir, const String& rel,
for(FindFile ft(AppendFileName(dir, "*.tpp")); ft; ft.Next())
if(ft.IsFile()) {
tl.topic = GetFileTitle(ft.GetName());
int q = tl.topic.ReverseFind('$');
int q = tl.topic.ReverseFind('_');
String l;
if(q >= 0) {
l = ToUpper(tl.topic.Mid(q + 1));
@ -196,7 +196,7 @@ void TopicCtrl::SyncDocTree()
const Index<String>& topic = group[i];
for(int i = 0; i < topic.GetCount(); i++) {
tl.topic = topic[i];
int q = tl.topic.ReverseFind('$');
int q = tl.topic.ReverseFind('_');
String l;
if(q >= 0)
l = ToUpper(tl.topic.Mid(q + 1));