diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-util/biew/files/biew-610-crash.patch | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/biew/files/biew-610-crash.patch')
-rw-r--r-- | dev-util/biew/files/biew-610-crash.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-util/biew/files/biew-610-crash.patch b/dev-util/biew/files/biew-610-crash.patch deleted file mode 100644 index 244f94a7ad53..000000000000 --- a/dev-util/biew/files/biew-610-crash.patch +++ /dev/null @@ -1,28 +0,0 @@ -If .biewrc does not exist, the setup dialog appears at program start. If you try -to click a checkbox with the mouse, biew tries to dereference a null pointer -(because the MainWindow is not yet set). - -This patch adds a workaround. Note that you actually cannot click a checkbox. -But that is what users might expect. (Maybe the biew code should be changed to -handle this properly.) Well, it is better not to crash, even if the checkboxes -are not clickable. - - –nico - - -diff -Naur biew-610.orig/events.c biew-610/events.c ---- biew-610.orig/events.c 2009-09-03 16:57:40.000000000 +0000 -+++ biew-610/events.c 2011-09-06 09:41:01.000000000 +0000 -@@ -118,7 +118,11 @@ - } - else - { -- X1 = 0; X2 = twGetClientWidth(MainWnd); Y1 = 1; Y2 = twGetClientHeight(MainWnd) - 1; -+ TWindow *wnd = -+ MainWnd ? MainWnd : /*XXX:drop this line?*/ -+ twGetWinAtPos(mx, my); -+ if(!wnd) return KE_MOUSE; -+ X1 = 0; X2 = twGetClientWidth(wnd); Y1 = 1; Y2 = twGetClientHeight(wnd) - 1; - } - wdh = X2 - X1; - hght = Y2 - Y1; |