Fixed endless loop on hints with same length.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 20 Jun 2017 22:38:06 +0000 (00:38 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 20 Jun 2017 22:42:17 +0000 (00:42 +0200)
commitc457a0c4e8bb80cbc65bac0a3405d04920e117c4
treeb3abb94418155e2eb60fdd2e02dd124195778cdd
parente50b6492a521f79cb3ca59f79b06746f620b79ee
Fixed endless loop on hints with same length.

In case hints with same length where generated the loop to get the
number of addressable hints did not end when there was only one single
hintkey defined.
So now do not attempt to run the same length hint label logic in case
there is only one hint key set. In this case normal hint labels are
generated.
src/scripts/hints.js