mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 06:12:52 -06:00
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:
parent
a590f22267
commit
c14a5daa78
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue