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

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kdeprint
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-03-29 8:17:50
Message-ID: 20040329081750.3945A9936 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

backporting work around for printers that list dimensions with more than one
space between the numbers


  M +2 -1      ppdloader.cpp   1.3.2.3


--- kdelibs/kdeprint/ppdloader.cpp  #1.3.2.2:1.3.2.3
@@ -70,6 +70,7 @@ static QString processLocaleString( cons
 }
 
-static QValueList<float> splitNumberString( const QString& s )
+static QValueList<float> splitNumberString( const QString& _s )
 {
+        QString s = _s.simplifyWhiteSpace();
         QValueList<float> l;
         int p1 = 1, p2 = 0;


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

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