mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Renamed sfFtpListingDirectory_getFilename() to getName()
This commit is contained in:
1 parent
cc8637f65c
commit
00bd5c9a22
2 files changed
+9
-9
No files matched your search
@@ -68,16 +68,16 @@ size_t sfFtpListingResponse_getCount(const sfFtpListingResponse* ftpListingRespo
|
||||
{
|
||||
CSFML_CHECK_RETURN(ftpListingResponse, 0);
|
||||
|
||||
return ftpListingResponse->This.getFilenames().size();
|
||||
return ftpListingResponse->This.getListing().size();
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
const char* sfFtpListingResponse_getFilename(const sfFtpListingResponse* ftpListingResponse, size_t index)
|
||||
const char* sfFtpListingResponse_getName(const sfFtpListingResponse* ftpListingResponse, size_t index)
|
||||
{
|
||||
CSFML_CHECK_RETURN(ftpListingResponse, NULL);
|
||||
|
||||
return ftpListingResponse->This.getFilenames()[index].c_str();
|
||||
return ftpListingResponse->This.getListing()[index].c_str();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user