summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-15 21:06:15 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-15 21:06:15 +0000
commitb853c0133d118e2495ba1498173c4c4bfe2574cb (patch)
tree4e0b95f4266308002c1cc6a3a6e9851a934b41d2 /gtk2_ardour
parenta609ea41db7cc339c522728918214b0a17308a08 (diff)
No-op; formatting.
git-svn-id: svn://localhost/ardour2/branches/3.0@10626 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rwxr-xr-xgtk2_ardour/vstfxwin.cc40
1 files changed, 22 insertions, 18 deletions
diff --git a/gtk2_ardour/vstfxwin.cc b/gtk2_ardour/vstfxwin.cc
index a1a7d73909..c47e555a6c 100755
--- a/gtk2_ardour/vstfxwin.cc
+++ b/gtk2_ardour/vstfxwin.cc
@@ -461,15 +461,17 @@ again:
/*scheduled call to dispatcher*/
- if(vstfx->dispatcher_wantcall)
- {
- vstfx->dispatcher_retval = vstfx->plugin->dispatcher( vstfx->plugin,
- vstfx->dispatcher_opcode,
- vstfx->dispatcher_index,
- vstfx->dispatcher_val,
- vstfx->dispatcher_ptr,
- vstfx->dispatcher_opt );
- vstfx->dispatcher_wantcall = 0;
+ if (vstfx->dispatcher_wantcall) {
+ vstfx->dispatcher_retval = vstfx->plugin->dispatcher (
+ vstfx->plugin,
+ vstfx->dispatcher_opcode,
+ vstfx->dispatcher_index,
+ vstfx->dispatcher_val,
+ vstfx->dispatcher_ptr,
+ vstfx->dispatcher_opt
+ );
+
+ vstfx->dispatcher_wantcall = 0;
pthread_cond_signal (&vstfx->plugin_dispatcher_called);
}
@@ -659,15 +661,17 @@ int vstfx_create_editor (VSTFX* vstfx)
/*Create an XWindow for the plugin to inhabit*/
- parent_window = XCreateSimpleWindow(LXVST_XDisplay,
- DefaultRootWindow(LXVST_XDisplay),
- 0,
- 0,
- x_size,
- y_size,
- 0,
- 0,
- 0);
+ parent_window = XCreateSimpleWindow (
+ LXVST_XDisplay,
+ DefaultRootWindow(LXVST_XDisplay),
+ 0,
+ 0,
+ x_size,
+ y_size,
+ 0,
+ 0,
+ 0
+ );
/*Select the events we are interested in receiving - we need Substructure notify so that
if the plugin resizes its window - e.g. Loomer Manifold then we get a message*/