diff options
author | Po Lu <luangruo@yahoo.com> | 2022-01-16 00:47:41 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-16 00:47:41 +0000 |
commit | 80c52346c287ddc5e15663c25a1fea18d2ee4fad (patch) | |
tree | 685d32678857019bca58ae439a59a5b92c924410 /src | |
parent | 77d823794eacd73469d32fe780b7dd4eae213b34 (diff) | |
download | emacs-80c52346c287ddc5e15663c25a1fea18d2ee4fad.tar.gz emacs-80c52346c287ddc5e15663c25a1fea18d2ee4fad.tar.bz2 emacs-80c52346c287ddc5e15663c25a1fea18d2ee4fad.zip |
Fix a minor snafu when resizing frames on Haiku
* src/haiku_support.cc (BWindow_resize): Adjust for minor snafu
where BWindow::ResizeTo uses BRect-style width and height
instead of actual width and height.
Diffstat (limited to 'src')
-rw-r--r-- | src/haiku_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haiku_support.cc b/src/haiku_support.cc index d49e319b98c..4b180f98b7c 100644 --- a/src/haiku_support.cc +++ b/src/haiku_support.cc @@ -1861,7 +1861,7 @@ BWindow_retitle (void *window, const char *title) void BWindow_resize (void *window, int width, int height) { - ((BWindow *) window)->ResizeTo (width, height); + ((BWindow *) window)->ResizeTo (width - 1, height - 1); } /* Activate WINDOW, making it the subject of keyboard focus and |