projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix two mysterious problems with stdint types
[ardour.git]
/
libs
/
fst
/
vstwin.c
diff --git
a/libs/fst/vstwin.c
b/libs/fst/vstwin.c
index a55d4e59aa51f20dbd8637bf7d947bd96ad8ec87..27fb3cbead21af949eb87ed6361e4d21df356f61 100644
(file)
--- a/
libs/fst/vstwin.c
+++ b/
libs/fst/vstwin.c
@@
-223,7
+223,7
@@
fst_new (void)
fst->n_pending_keys = 0;
fst->has_editor = 0;
#ifdef PLATFORM_WINDOWS
fst->n_pending_keys = 0;
fst->has_editor = 0;
#ifdef PLATFORM_WINDOWS
- fst->voffset =
36
;
+ fst->voffset =
50
;
fst->hoffset = 0;
#else /* linux + wine */
fst->voffset = 24;
fst->hoffset = 0;
#else /* linux + wine */
fst->voffset = 24;
@@
-465,7
+465,7
@@
fst_move_window_into_view (VSTState* fst)
{
if (fst->windows_window) {
#ifdef PLATFORM_WINDOWS
{
if (fst->windows_window) {
#ifdef PLATFORM_WINDOWS
- SetWindowPos ((HWND)(fst->windows_window), 0, fst->hoffset, fst->voffset, fst->width
, fst->heigh
t, 0);
+ SetWindowPos ((HWND)(fst->windows_window), 0, fst->hoffset, fst->voffset, fst->width
+ fst->hoffset, fst->height + fst->voffse
t, 0);
#else /* linux + wine */
SetWindowPos ((HWND)(fst->windows_window), 0, 0, 0, fst->width + fst->hoffset, fst->height + fst->voffset, 0);
#endif
#else /* linux + wine */
SetWindowPos ((HWND)(fst->windows_window), 0, 0, 0, fst->width + fst->hoffset, fst->height + fst->voffset, 0);
#endif