diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-11-23 18:40:31 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-11-23 18:40:31 +0100 |
commit | 42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95 (patch) | |
tree | e339344aedf9b64686fc686dc121b8dcc755f038 | |
parent | 5a96860979c776c9d2b643b760d2da24f349241e (diff) | |
download | polecat-42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95.tar.gz polecat-42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95.zip |
get the size of the correct variable0.1.9
sizeof(dxvkdir) returns the size of void*, not what we want
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | polecat.spec | 5 | ||||
-rw-r--r-- | src/dxvk.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e565557..03c1817 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ if(NOT CMAKE_BUILD_TYPE) "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) endif() -project(polecat VERSION 0.1.8) +project(polecat VERSION 0.1.9) add_compile_definitions(NAME="${CMAKE_PROJECT_NAME}") add_compile_definitions(VERSION="${CMAKE_PROJECT_VERSION}") diff --git a/polecat.spec b/polecat.spec index ed9090b..5fb74ad 100644 --- a/polecat.spec +++ b/polecat.spec @@ -1,5 +1,5 @@ Name: polecat -Version: 0.1.8 +Version: 0.1.9 Release: 1%{?dist} Summary: simple wine version manager @@ -36,5 +36,8 @@ polecat is wine manager that manages, installs and downloads wine for you %{_bindir}/%{name} %changelog +* Mon Nov 23 18:39:58 CET 2020 Jan Drögehoff <sentrycraft123@gmail.com> - 0.1.9-1 +- Update to 1.9 + * Sun Nov 22 22:21:50 CET 2020 Jan Drögehoff <sentrycraft123@gmail.com> - 0.1.8-1 - Initial spec @@ -62,7 +62,7 @@ int dxvk_download(int argc, char** argv) struct MemoryStruct* archive; char dxvkdir[PATH_MAX]; - getDXVKDir(dxvkdir, sizeof(dxvk)); + getDXVKDir(dxvkdir, sizeof(dxvkdir)); makeDir(dxvkdir); printf("Downloading %s\n", name); |