Skip to content

Commit 707b510

Browse files
committed
Use simpler method for computing letter from number
1 parent 9e8e55c commit 707b510

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ script: |
4949
esac
5050
export MODE=debug
5151
_download/livecode-community-server tests/_testrunner.lc run tests/test-scripts
52+
if [ $? -ne 0 ] ; then
53+
cat tests/_test_suite.log
54+
exit 1
55+
fi
5256
5357
addons:
5458
# Packages needed for building LiveCode

src/PuzzleTools.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end toNumber
1212

1313
function fromNumber pNum
1414
local tNum
15-
put ((pNum - 1) mod 26) + 65 into tNum
15+
put (pNum mod 27) + 64 into tNum
1616
return numtochar(tNum)
1717
end fromNumber
1818

0 commit comments

Comments
 (0)