We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a28f6c9 commit a3f3f58Copy full SHA for a3f3f58
CMakeLists.txt
@@ -116,7 +116,7 @@ target_include_directories(
116
${CMAKE_SOURCE_DIR}/vendor/reaper-sdk/sdk)
117
if(WIN32)
118
target_compile_options(common INTERFACE
119
- /W4 /wd4100 /wd4505 /wd4706 /wd4996
+ /W3 /wd4996
120
/WX
121
)
122
target_compile_definitions(common INTERFACE NOMINMAX UNICODE)
source/api.cpp
@@ -196,7 +196,7 @@ bool Map(
196
currentControlTarget.minval = *minvalInOptional;
197
}
198
if (maxvalInOptional) {
199
- currentControlTarget.maxval = *minvalInOptional;
+ currentControlTarget.maxval = *maxvalInOptional;
200
201
if (stepInOptional) {
202
currentControlTarget.step = *stepInOptional;
0 commit comments