A bug in debug mode with using tabs in text

Bug #1234987 reported by Mikko Merikivi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
cybermind

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

Revision history for this message
Mikko Merikivi (mikkommm) wrote :
Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.