zynaddsubfx

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

commit f88f91d6f374cb9419f86534b51ea19292696d1e
parent 5e6c74cd2673a7c97a1969ce2764a50552432099
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Mon, 10 Oct 2016 12:14:08 -0400

Fix Bug In NSM Due To Windows Support

Diffstat:
Msrc/UI/NSM.C | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/UI/NSM.C b/src/UI/NSM.C @@ -83,7 +83,10 @@ NSM_Client::command_open(const char *name, char *new_filename; - //asprintf(&new_filename, "%s.xmz", name); + //if you're on windows enjoy the undefined behavior... +#ifndef WIN32 + asprintf(&new_filename, "%s.xmz", name); +#endif struct stat st;