[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    [patch]  possible typo in texttool code
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-11-16 21:41:08
Message-ID: 49209374.4040301 () iidea ! pl
[Download RAW message or body]

Please look at the patch

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
  http://www.linkedin.com/in/jstaniek

["texttool.patch" (text/plain)]

Index: plugins/textshape/TextTool.cpp
===================================================================
--- plugins/textshape/TextTool.cpp	(wersja 885237)
+++ plugins/textshape/TextTool.cpp	(kopia robocza)
@@ -467,7 +467,7 @@
                 continue;
             KoTextShapeData *data = ts->textShapeData();
             // check if shape contains some of the selection, if not, skip
-            if (!( (data->endPosition() >= selectStart && data->position()) <= selectEnd
+            if (!( (data->endPosition() >= selectStart && data->position() <= selectEnd)
                     || (data->position() <= selectStart && data->endPosition() >= selectEnd)) )
                 continue;
             if (painter.hasClipping()) {


_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic