commit kanagram for openSUSE:Factory
Hello community, here is the log from the commit of package kanagram for openSUSE:Factory checked in at 2014-05-22 06:50:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kanagram (Old) and /work/SRC/openSUSE:Factory/.kanagram.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kanagram" Changes: -------- --- /work/SRC/openSUSE:Factory/kanagram/kanagram.changes 2014-04-18 12:36:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kanagram.new/kanagram.changes 2014-05-22 06:50:29.000000000 +0200 @@ -1,0 +2,7 @@ +Fri May 9 16:45:38 UTC 2014 - tittiatcoke@gmail.com + +- Update to 4.13.1 + * KDE 4.13.1 bug fix release + * See http://www.kde.org/announcements/announce-4.13.1.php + +------------------------------------------------------------------- Old: ---- kanagram-4.13.0.tar.xz New: ---- kanagram-4.13.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kanagram.spec ++++++ --- /var/tmp/diff_new_pack.1tA9BB/_old 2014-05-22 06:50:30.000000000 +0200 +++ /var/tmp/diff_new_pack.1tA9BB/_new 2014-05-22 06:50:30.000000000 +0200 @@ -17,7 +17,7 @@ Name: kanagram -Version: 4.13.0 +Version: 4.13.1 Release: 0 Summary: Anagram Game License: GPL-2.0+ ++++++ kanagram-4.13.0.tar.xz -> kanagram-4.13.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kanagram-4.13.0/src/engine/kanagramgame.cpp new/kanagram-4.13.1/src/engine/kanagramgame.cpp --- old/kanagram-4.13.0/src/engine/kanagramgame.cpp 2014-03-23 05:43:12.000000000 +0100 +++ new/kanagram-4.13.1/src/engine/kanagramgame.cpp 2014-05-04 05:04:32.000000000 +0200 @@ -259,21 +259,26 @@ void KanagramGame::createAnagram() { - QString anagram; - QString letters; - int randomIndex; + if (m_originalWord.count(m_originalWord.at(0)) < m_originalWord.size()) { + QString anagram; + QString letters; + int randomIndex; - do { - letters = m_originalWord; - while (!letters.isEmpty()) - { - randomIndex = m_random.getLong(letters.count()); - anagram.append(letters.at(randomIndex)); - letters.remove(randomIndex, 1); - } - } while (anagram == m_originalWord); + do { + anagram.clear(); + letters = m_originalWord; + while (!letters.isEmpty()) + { + randomIndex = m_random.getLong(letters.count()); + anagram.append(letters.at(randomIndex)); + letters.remove(randomIndex, 1); + } + } while (anagram == m_originalWord); - m_anagram = anagram; + m_anagram = anagram; + } else { + m_anagram = m_originalWord; + } } QString KanagramGame::documentTitle() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kanagram-4.13.0/src/harmattan/kanagram-harmattan.desktop new/kanagram-4.13.1/src/harmattan/kanagram-harmattan.desktop --- old/kanagram-4.13.0/src/harmattan/kanagram-harmattan.desktop 2014-03-23 05:43:12.000000000 +0100 +++ new/kanagram-4.13.1/src/harmattan/kanagram-harmattan.desktop 2014-05-04 05:04:32.000000000 +0200 @@ -84,6 +84,7 @@ GenericName[lt]=Kanagram paleidiklis GenericName[mr]=कानाग्राम प्रक्षेपक GenericName[nb]=Kanagram-starter +GenericName[nds]=Kanagram-Oproper GenericName[nl]=Kanagram programmastarter GenericName[pl]=Program uruchamiający Kanagram GenericName[pt]=Lançamento do Kanagram diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kanagram-4.13.0/src/plasma-active/kanagram-active.desktop new/kanagram-4.13.1/src/plasma-active/kanagram-active.desktop --- old/kanagram-4.13.0/src/plasma-active/kanagram-active.desktop 2014-03-23 05:43:12.000000000 +0100 +++ new/kanagram-4.13.1/src/plasma-active/kanagram-active.desktop 2014-05-04 05:04:32.000000000 +0200 @@ -21,6 +21,7 @@ Name[lt]=Kanagram Active Name[mr]=कानाग्राम एक्टिव्ह Name[nb]=Kanagram Aktiv +Name[nds]=Kanagram-Aktiev Name[nl]=Kanagram-actief Name[pl]=Kanagram Active Name[pt]=Kanagram Active @@ -55,6 +56,7 @@ GenericName[lt]=Kanagram Active GenericName[mr]=कानाग्राम एक्टिव्ह GenericName[nb]=Kanagram Aktiv +GenericName[nds]=Kanagram-Aktiev GenericName[nl]=Kanagram-actief GenericName[pl]=Kanagram Active GenericName[pt]=Kanagram Active @@ -89,6 +91,7 @@ Comment[lt]=Kanagram Active planšetiniams kompiuteriams Comment[mr]=टॅब्लेट्स करिता कानाग्राम एक्टिव्ह Comment[nb]=Kanagram Aktiv for dataplater +Comment[nds]=Kanagram-Aktiev för Tablettreekners Comment[nl]=Kanagram-actief voor tablets Comment[pl]=Kanagram Active dla tabletów Comment[pt]=Kanagram Active para tabletes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kanagram-4.13.0/src/plasma-active/package/metadata.desktop new/kanagram-4.13.1/src/plasma-active/package/metadata.desktop --- old/kanagram-4.13.0/src/plasma-active/package/metadata.desktop 2014-03-23 05:43:12.000000000 +0100 +++ new/kanagram-4.13.1/src/plasma-active/package/metadata.desktop 2014-05-04 05:04:32.000000000 +0200 @@ -21,6 +21,7 @@ Name[lt]=Kanagram Active Name[mr]=कानाग्राम एक्टिव्ह Name[nb]=Kanagram Aktiv +Name[nds]=Kanagram-Aktiev Name[nl]=Kanagram-actief Name[pl]=Kanagram Active Name[pt]=Kanagram Active @@ -55,6 +56,7 @@ Comment[lt]=Kanagram Active planšetiniams kompiuteriams Comment[mr]=टॅब्लेट्स करिता कानाग्राम एक्टिव्ह Comment[nb]=Kanagram Aktiv for dataplater +Comment[nds]=Kanagram-Aktiev för Tablettreekners Comment[nl]=Kanagram-actief voor tablets Comment[pl]=Kanagram Active dla tabletów Comment[pt]=Kanagram Active para tabletes -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de