Update ATTRIBUTE GET$ "","" to only return the path as this is more useful.

This commit is contained in:
Jim
2015-04-20 09:27:25 -07:00
parent 60573e5b1e
commit 2e68d1b447
7 changed files with 348 additions and 3 deletions

View File

@@ -9220,6 +9220,8 @@ const char* YabInterface::AttributeGet1(const char* name, const char* filename)
if (tempname.Length() >0)
ErrorGen("Attribute file not found!");
BString appdir = mainFileName;
int32 i = appdir.FindLast("/");
appdir.Truncate(i);
return appdir;
}