Documentation: Fix last value of index range in FTP listing response

- Wording and notation consistent with `sf*Shape_{g,s}etPoint()`
- Related case fix in `sfConvexShape_setPoint`
This commit is contained in:
mgrojo authored and Chris Thrasher committed 2024-09-02 21:38:02 -06:00
1 parent 725b00e6ae
commit cd778ff82f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -390,7 +390,7 @@ CSFML_GRAPHICS_API void sfConvexShape_setPointCount(sfConvexShape* shape, size_t
/// of the valid range. /// of the valid range.
/// ///
/// \param shape Shape object /// \param shape Shape object
/// \param index Index of the point to change, in range [0 .. GetPointCount() - 1] /// \param index Index of the point to change, in range [0 .. getPointCount() - 1]
/// \param point New point /// \param point New point
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
+1 -1
View File
@@ -169,7 +169,7 @@ CSFML_NETWORK_API size_t sfFtpListingResponse_getCount(const sfFtpListingRespons
/// \brief Return a directory/file name contained in a FTP listing response /// \brief Return a directory/file name contained in a FTP listing response
/// ///
/// \param ftpListingResponse Ftp listing response /// \param ftpListingResponse Ftp listing response
/// \param index Index of the name to get (in range [0 .. getCount]) /// \param index Index of the name to get, in range [0 .. getCount() - 1]
/// ///
/// \return The requested name /// \return The requested name
/// ///