diff options
Diffstat (limited to 'editor/pamfunc.c')
-rw-r--r-- | editor/pamfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pamfunc.c b/editor/pamfunc.c index 5945b82d..6a121883 100644 --- a/editor/pamfunc.c +++ b/editor/pamfunc.c @@ -368,7 +368,7 @@ applyFunction(struct CmdlineInfo const cmdline, outSample = inSample ^ cmdline.u.mask; break; case FN_NOT: - outSample = ~inSample; + outSample = ~inSample & outpam.maxval; break; case FN_SHIFTLEFT: outSample = |