diff options
author | Marvin Borner | 2019-01-07 01:56:36 +0100 |
---|---|---|
committer | Marvin Borner | 2019-01-07 01:56:36 +0100 |
commit | 79a5fbb6f5e99df403d50eefd32e8f54b53ebb1e (patch) | |
tree | b95b01e2a0a781ac186ca3046ae73d6893f7154e | |
parent | 8a76736fab808474b9fd40da4eae371b8b3375d4 (diff) |
Fixed issues with random zero
-rw-r--r-- | qml/pages/FirstPage.qml | 2 | ||||
-rw-r--r-- | rpm/BinaryFun.changes.in | 5 | ||||
-rw-r--r-- | rpm/BinaryFun.spec | 2 | ||||
-rw-r--r-- | rpm/BinaryFun.yaml | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/qml/pages/FirstPage.qml b/qml/pages/FirstPage.qml index c0702ac..72270ad 100644 --- a/qml/pages/FirstPage.qml +++ b/qml/pages/FirstPage.qml @@ -47,7 +47,7 @@ Page { } function getRandom() { - return Math.floor(Math.random() * 16); + return Math.floor(Math.random() * 15) + 1; } function newGame() { diff --git a/rpm/BinaryFun.changes.in b/rpm/BinaryFun.changes.in index 9717639..cc8397e 100644 --- a/rpm/BinaryFun.changes.in +++ b/rpm/BinaryFun.changes.in @@ -12,7 +12,6 @@ # * date Author's Name <author's email> version-release # - Summary of changes -* Sun Apr 13 2014 Jack Tar <jack.tar@example.com> 0.0.1-1 -- Scrubbed the deck -- Hoisted the sails +* Mon Jan 7 2019 Marvin Borner <contact@marvinborner.de> 0.1.1 +- Fixed bug with decimal zero diff --git a/rpm/BinaryFun.spec b/rpm/BinaryFun.spec index 63a933b..2c75d11 100644 --- a/rpm/BinaryFun.spec +++ b/rpm/BinaryFun.spec @@ -13,7 +13,7 @@ Name: BinaryFun %{!?qtc_make:%define qtc_make make} %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: An awesome binary game -Version: 0.1 +Version: 0.1.1 Release: 1 Group: Qt/Qt License: LICENSE diff --git a/rpm/BinaryFun.yaml b/rpm/BinaryFun.yaml index 98f0875..ef849f9 100644 --- a/rpm/BinaryFun.yaml +++ b/rpm/BinaryFun.yaml @@ -1,6 +1,6 @@ Name: BinaryFun Summary: An awesome binary game -Version: 0.1 +Version: 0.1.1 Release: 1 # The contents of the Group field should be one of the groups listed here: # https://github.com/mer-tools/spectacle/blob/master/data/GROUPS |