[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/css
From: Allan Sandfeld Jensen <kde () carewolf ! com>
Date: 2005-05-29 23:14:19
Message-ID: 1117408459.693887.2961.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 419585 by carewolf:
Remember to parse n as 1n in nth.
M +4 -1 cssstyleselector.cpp
--- trunk/KDE/kdelibs/khtml/css/cssstyleselector.cpp #419584:419585
@@ -783,7 +783,10 @@
else
a = nth.mid(1,n-1).toInt();
else
- a = nth.left(n).toInt();
+ if (n==0)
+ a = 1;
+ else
+ a = nth.left(n).toInt();
int p = nth.find('+');
if (p != -1)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic