Linux: Hardened getAvailableDisplayModes so that it won't be confused by a changing number of display modes while it is executing
Authored by: elias_naur 2005-01-16
Parent: [r1743]
Child: [r1745]