[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kraft/src
From: Klaas Freitag <klaas () freisturz ! de>
Date: 2012-08-13 19:02:19
Message-ID: 20120813190219.7ADE8AC7AB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1310584 by freitag:
Search for string followed by a dot.
M +2 -1 unitmanager.cpp
--- trunk/playground/office/kraft/src/unitmanager.cpp #1310583:1310584
@@ -87,7 +87,8 @@
foreach( Einheit tmp, mUnits ) {
if( tmp.einheitSingular() == einheitStr ||
- tmp.einheitPlural() == einheitStr ) {
+ tmp.einheitPlural() == einheitStr ||
+ einheitStr.startsWith(tmp.einheitSingular()) ) {
// kDebug() << "Thats it, returning " << tmp.id() << endl;
return tmp.id();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic