libragephoto 0.4.1 release

RagePhotoA: fix setData() pointer passthrough
This commit is contained in:
Syping 2023-05-25 23:30:26 +02:00
parent 4aedd8b869
commit af3580dff4
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
****************************************************************************]]
cmake_minimum_required(VERSION 3.8)
project(ragephoto VERSION 0.4.0 LANGUAGES CXX)
project(ragephoto VERSION 0.4.1 LANGUAGES CXX)
include(GNUInstallDirs)
# RagePhoto CMake includes

View file

@ -302,7 +302,7 @@ public:
if (takeCopy)
return ragephoto_setphotodatac(instance, ragePhotoData);
else
return ragephoto_setphotodata(&instance, ragePhotoData);
return ragephoto_setphotodata(instance, ragePhotoData);
}
/** Sets the Photo description. */
void setDescription(const char *description, uint32_t bufferSize = 0) {