diff options
Diffstat (limited to 'x11-toolkits/qt4-gui/files/patch-src__gui__text__qtextlayout.cpp')
-rw-r--r-- | x11-toolkits/qt4-gui/files/patch-src__gui__text__qtextlayout.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/x11-toolkits/qt4-gui/files/patch-src__gui__text__qtextlayout.cpp b/x11-toolkits/qt4-gui/files/patch-src__gui__text__qtextlayout.cpp deleted file mode 100644 index 7043bfc32308..000000000000 --- a/x11-toolkits/qt4-gui/files/patch-src__gui__text__qtextlayout.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- ./src/gui/text/qtextlayout.cpp.orig 2012-03-14 15:01:14.000000000 +0100 -+++ ./src/gui/text/qtextlayout.cpp 2012-04-03 09:40:53.779974016 +0200 -@@ -2508,6 +2508,10 @@ - int pos = *cursorPos; - int itm; - const HB_CharAttributes *attributes = eng->attributes(); -+ if (!attributes) { -+ *cursorPos = 0; -+ return x.toReal(); -+ } - while (pos < line.from + line.length && !attributes[pos].charStop) - pos++; - if (pos == line.from + (int)line.length) { |