really fix windows compilation.
[ardour.git] / libs / fst / vstwin.c
index 9ed65ff978436a38f2e67ae1b5aae8a4914379d9..820027c9aea18be683f18dc059c4f8fd9bde25d2 100644 (file)
@@ -222,12 +222,12 @@ fst_new (void)
        VSTState* fst = (VSTState*) calloc (1, sizeof (VSTState));
 
        //vststate_init (fst);
-       pthread_mutex_init (&state->lock, 0);
-       pthread_mutex_init (&state->state_lock, 0);
-       pthread_cond_init (&state->window_status_change, 0);
-       pthread_cond_init (&state->plugin_dispatcher_called, 0);
-       pthread_cond_init (&state->window_created, 0);
-       state->want_program = -1;
+       pthread_mutex_init (&fst->lock, 0);
+       pthread_mutex_init (&fst->state_lock, 0);
+       pthread_cond_init (&fst->window_status_change, 0);
+       pthread_cond_init (&fst->plugin_dispatcher_called, 0);
+       pthread_cond_init (&fst->window_created, 0);
+       fst->want_program = -1;
        //
 
 #ifdef PLATFORM_WINDOWS