Update ATTRIBUTE GET$ "","" to only return the path as this is more useful.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user