mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
ide: Fixed issue with UppHub headers in Assist
git-svn-id: svn://ultimatepp.org/upp/trunk@15836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
02960ccae0
commit
627e4b8cd1
2 changed files with 6 additions and 5 deletions
|
|
@ -719,8 +719,7 @@ void AssistEditor::AssistInsert()
|
|||
<< (include_local ? "\"" : "<")
|
||||
<< h << include_path
|
||||
<< f.name
|
||||
<< (f.kind == KIND_INCLUDEFOLDER ? "/" :
|
||||
include_local ? "\"" : ">")
|
||||
<< (f.kind == KIND_INCLUDEFOLDER ? "/" : include_local ? "\"" : ">")
|
||||
, CHARSET_WIN1250));
|
||||
if(f.kind == KIND_INCLUDEFOLDER) {
|
||||
Assist();
|
||||
|
|
@ -729,7 +728,7 @@ void AssistEditor::AssistInsert()
|
|||
}
|
||||
else {
|
||||
String pkg = include_path.Left(include_path.GetCount() - 1);
|
||||
Vector<String> nests = SplitDirs(GetVar("UPP"));
|
||||
Vector<String> nests = GetUppDirs();
|
||||
for(int i = 0; i < nests.GetCount(); i++){
|
||||
if(FileExists(nests[i] + "/" + include_path + GetFileName(pkg) + ".upp")) {
|
||||
Ide *ide = dynamic_cast<Ide *>(TheIde());
|
||||
|
|
|
|||
Loading…
Reference in a new issue