- return a std::string from GetFileFullPath
This commit is contained in:
parent
25b7b18c3d
commit
8a5d3c096b
11 changed files with 21 additions and 21 deletions
|
|
@ -1130,13 +1130,15 @@ const char *FileSystem::GetFileFullName (int lump, bool returnshort) const
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
FString FileSystem::GetFileFullPath(int lump) const
|
||||
std::string FileSystem::GetFileFullPath(int lump) const
|
||||
{
|
||||
FString foo;
|
||||
std::string foo;
|
||||
|
||||
if ((size_t) lump < NumEntries)
|
||||
{
|
||||
foo << GetResourceFileName(FileInfo[lump].rfnum) << ':' << GetFileFullName(lump);
|
||||
foo = GetResourceFileName(FileInfo[lump].rfnum);
|
||||
foo += ':';
|
||||
foo += +GetFileFullName(lump);
|
||||
}
|
||||
return foo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue