Skip to content

Commit

Permalink
MSVC: Fix vibed plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-w committed Jul 28, 2018
1 parent f245d74 commit adcc009
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ IF(MSVC)
organic
ReverbSC
sid
vibed
#VstEffect
Xpressive
zynaddsubfx
Expand Down
2 changes: 1 addition & 1 deletion plugins/vibed/vibrating_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ vibratingString::vibratingString( float _pitch,

int pick = static_cast<int>( ceil( string_length * _pick ) );

if( not _state )
if( ! _state )
{
m_impulse = new float[string_length];
resample( _impulse, _len, string_length );
Expand Down
2 changes: 1 addition & 1 deletion plugins/vibed/vibrating_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class vibratingString
float r;
float offset;

if( not _state )
if( ! _state )
{
for( int i = 0; i < _pick; i++ )
{
Expand Down

0 comments on commit adcc009

Please sign in to comment.