zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 50cf0f41c9c27971223aafca88603db2a1aec91d
parent 66e39cf01b61deca9583b88f8df1baef2315d923
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Mon,  9 Aug 2010 11:16:39 -0400

LASH: fixing build/compile issues

* Fixed typo in CMakelist
* Allowed for argc/argv to extend their scope into initprogram for LASH

Diffstat:
Msrc/Misc/CMakeLists.txt | 2+-
Msrc/main.cpp | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Misc/CMakeLists.txt b/src/Misc/CMakeLists.txt @@ -13,7 +13,7 @@ set(zynaddsubfx_misc_SRCS WavFile.cpp ) -if(LashEnabled) +if(LashEnable) set(zynaddsubfx_misc_SRCS ${zynaddsubfx_misc_SRCS} LASHClient.cpp) endif() diff --git a/src/main.cpp b/src/main.cpp @@ -179,7 +179,7 @@ void sigterm_exit(int /*sig*/) /* * Program initialisation */ -void initprogram() +void initprogram(int argc, char **argv) { #if LASH lash = new LASHClient(&argc, &argv); @@ -414,7 +414,7 @@ int main(int argc, char *argv[]) return 0; } - initprogram(); + initprogram(argc,argv); #if 0 //TODO update this code #ifdef USE_LASH