diff options
Diffstat (limited to 'app-office/scribus/files/scribus-1.2.2-crash-fix.diff')
-rw-r--r-- | app-office/scribus/files/scribus-1.2.2-crash-fix.diff | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app-office/scribus/files/scribus-1.2.2-crash-fix.diff b/app-office/scribus/files/scribus-1.2.2-crash-fix.diff deleted file mode 100644 index ac76aa8ccc75..000000000000 --- a/app-office/scribus/files/scribus-1.2.2-crash-fix.diff +++ /dev/null @@ -1,22 +0,0 @@ -Index: scribus/pageitem.cpp -=================================================================== -RCS file: /cvs/Scribus/scribus/pageitem.cpp,v -retrieving revision 1.151 -retrieving revision 1.152 -diff -U3 -r1.151 -r1.152 ---- scribus-1.2.2-old/scribus/pageitem.cpp 16 Jun 2005 21:46:44 -0000 1.151 -+++ scribus-1.2.2/scribus/pageitem.cpp 4 Jul 2005 19:42:49 -0000 1.152 -@@ -1059,7 +1059,12 @@ - CurX += Doc->Vorlagen[hl->cab].First; - else - { -- if (BackBox->Ptext.at(BackBox->Ptext.count()-1)->ch == QChar(13)) -+ if (BackBox->Ptext.count() != 0) -+ { -+ if (BackBox->Ptext.at(BackBox->Ptext.count()-1)->ch == QChar(13)) -+ CurX += Doc->Vorlagen[hl->cab].First; -+ } -+ else - CurX += Doc->Vorlagen[hl->cab].First; - } - } |