summaryrefslogtreecommitdiff
path: root/multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp')
-rw-r--r--multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp b/multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp
new file mode 100644
index 000000000000..9a2c56c80eb7
--- /dev/null
+++ b/multimedia/openmovieeditor/files/patch-src-Fl__Split.cpp
@@ -0,0 +1,31 @@
+--- src/Fl_Split.cpp.orig 2008-03-26 11:16:57.000000000 +0300
++++ src/Fl_Split.cpp 2012-02-14 10:49:26.565769160 +0400
+@@ -38,7 +38,7 @@
+
+ void Fl_Split::position(int oix, int oiy, int newx, int newy) {
+ Fl_Widget*const* a = array();
+- short* p = sizes();
++ int* p = sizes();
+ p += 8; // skip group & resizable's saved size
+ for (int i=children(); i--; p += 4) {
+ Fl_Widget* o = *a++;
+@@ -88,7 +88,7 @@
+ return;
+ }
+
+- short* p = sizes();
++ int* p = sizes();
+ // resize this (skip the Fl_Group resize):
+ Fl_Widget::resize(X,Y,W,H);
+
+@@ -155,8 +155,8 @@
+ int oldx = 0;
+ int oldy = 0;
+ Fl_Widget*const* a = array();
+- short* q = sizes();
+- short* p = q+8;
++ int* q = sizes();
++ int* p = q+8;
+ //printf("cursor(%d,%d)\n", mx,my);
+ for (int i=children(); i--; p += 4) {
+ Fl_Widget* o = *a++;