use g_fopen()
git-svn-id: svn://localhost/ardour2/branches/3.0@11668 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d0b90d2961
commit
b557061ec4
@ -9,6 +9,8 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include "ardour/linux_vst_support.h"
|
||||
#include "pbd/error.h"
|
||||
@ -360,7 +362,7 @@ void vstfx_close (VSTState* vstfx)
|
||||
bool
|
||||
vstfx_save_state (VSTState* vstfx, char * filename)
|
||||
{
|
||||
FILE* f = fopen (filename, "wb");
|
||||
FILE* f = g_fopen (filename, "wb");
|
||||
if (f)
|
||||
{
|
||||
int bytelen;
|
||||
|
Loading…
Reference in New Issue
Block a user