A bug in debug mode with using tabs in text

Bug #1234987 reported by Mikko Merikivi on 2013-10-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I used Stratagus 2.2.7 which was built with the argument "-DCMAKE_BUILD_TYPE=Debug" and Aleona's Tales AT-R2 with this change to its scripts: In scripts/guichan.lua: I replaced the line
  menu:addLabel(wargus.Name .. " V" .. wargus.Version .. " " .. wargus.Homepage, offx + 320 + 8, offy + 104 + 36*-1)
with one in which I replaced the two space bars inside the double quotes between wargus.Version and wargus.Homepage with a tabulator. The game crashes when it reaches the main menu. This only happens when the debug flags are used when compiling. Oh, and despite the directory's name, Stratagus was unmodified.

Related branches

Mikko Merikivi (mikkommm) wrote :
cybermind (iddqd-mail) wrote :

Temporarily fixed it by replacing tabs with 4 spaces. This needs to be fixed in a more generic way.

Changed in stratagus:
status: New → Fix Committed
assignee: nobody → cybermind (iddqd-mail)
cybermind (iddqd-mail) on 2015-03-19
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments