FS#162 - SEGV when sorting an empty server list.

Attached to Project: OpenTTD
Opened by Celestar (Celestar) - Wednesday, 10 May 2006, 13:12 GMT
Type Bug
Category Core
Status Closed
Assigned To Darkvater (Darkvater)
Operating System All
Severity High
Priority Normal
Reported Version 0.4.7
Due in Version 0.4.8
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The game segfaults when one tries to sort an empty server-list in the multiplayer window
This task depends upon

Closed by  Darkvater (Darkvater)
Tuesday, 16 May 2006, 21:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  r4892
Comment by Loïc GUILLOUX (glx) - Wednesday, 10 May 2006, 13:48 GMT
I tried something to fix this. And it seems to work :)

Just don't sort if the list is empty.