Skip to content

Patch 1

Javier requested to merge Fernandez-Sanguino/open-adventure:patch-1 into master

After installing and starting playing adventure I have found a small bug in one text description where a quote (') is shown to the end user:


w

The crack is far too small for you to follow. At its widest it is barely wide enough to admit your foot.'

You're at top of small pit.

Rough stone steps lead down the pit.


Skimming the adventure.yaml syntax, I believe the error is that the long description for LOC_CRACK is ended with a quote character. Apparently quote characters are only used in short descriptions, not in long descriptions.

The proposed patch removes the end quote in a long description in both adventure.yaml and one test file.

The patch has been successfully applied and tested in the Debian latest package [open-adventure (1.4+git20170917.0.d5123848-2) unstable], after applying it the extraneous quote character is no longer present.

Merge request reports