Odd line in information tool in editor

Bug #1293158 reported by Hans Joachim Desserud
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

Steps to reproduce:
1. Start the editor.
2. Press "i" to activate the information tool (the cursor changes to an "i")
3. Click somewhere on the map.
4. Look at the different lines in the dialog.

The third line sometimes displayes "Players: 1" so I believe it is supposed to list the number of players the map supports. However, most of the time it contains random characters (some of them unprintable). See the attached screenshot for an example.

Widelands r6874 on Ubuntu 13.10.

Tags: editor

Related branches

Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
GunChleoc (gunchleoc) wrote :

This is actually a newly declared temp string buffer that contains whatever happens to be at the memory address. I'll get rid of it.

Changed in widelands:
assignee: nobody → GunChleoc (gunchleoc)
status: New → In Progress
Revision history for this message
GunChleoc (gunchleoc) wrote :

OK. Done

There is still some nonsense in Owned By and Players, but that's a case of GIGO and I don't know where it's coming from.

Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
status: In Progress → Confirmed
Revision history for this message
SirVer (sirver) wrote :

Fixed in 7073.

Changed in widelands:
status: Confirmed → Fix Committed
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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