WPrefs: Fix crash when switching to mouse settings panel
commit5d2fb4ec9785d872100293614567dc6b6d65e9a1
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 15 Jun 2013 10:15:54 +0000 (15 12:15 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 16 Jun 2013 14:02:55 +0000 (16 15:02 +0100)
treeab61e8b79dc0d6a843f980c3a87ca5ae5691c37e
parentebac6e7c839dfededc4814379495cc65c0e359c2
WPrefs: Fix crash when switching to mouse settings panel

Apparently, there is some exceptional case when the 'Mouse Grab
Modifier' list can be empty, in which case the program would
crash.

This patch makes sure the program will not crash (that's a bad
behaviour), but does not solve the empty list case

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/MouseSettings.c