Renamed sfFtpListingDirectory_getFilename() to getName()

This commit is contained in:
Laurent Gomila committed 2012-10-26 17:10:21 +02:00
1 parent cc8637f65c
commit 00bd5c9a22
2 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -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();
}