ZynAddSubFX: fixed commit d61283ad93

Commit d61283ad93 (cherry picked from
official upstream) contained a type which makes compilation of ZASF
plugin fail. Fix this by using correct variable name.
This commit is contained in:
Tobias Doerffel
2009-11-27 08:43:25 +01:00
parent 873eff2b22
commit 01e10a1854
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ if ((event==FL_PUSH)||(event==FL_DRAG)||(event==FL_RELEASE)){
};
};
if ((keypos!=-1)&&((event==FL_PUSH)||(event==FL_DRAG))&&
if ((kpos!=-1)&&((event==FL_PUSH)||(event==FL_DRAG))&&
(Fl::event_shift()==0)) {
presskey(kpos,1,1);
};

View File

@@ -138,7 +138,7 @@ if ((event==FL_PUSH)||(event==FL_DRAG)||(event==FL_RELEASE)){
};
};
if ((keypos!=-1)&&((event==FL_PUSH)||(event==FL_DRAG))&&
if ((kpos!=-1)&&((event==FL_PUSH)||(event==FL_DRAG))&&
(Fl::event_shift()==0)) {
presskey(kpos,1,1);
};