src/joystick/darwin/SDL_sysjoystick.c
changeset 1496 405e20dc004c
parent 1487 dc6b59e925a2
child 1621 f12379c41042
--- a/src/joystick/darwin/SDL_sysjoystick.c	Sat Mar 11 22:54:12 2006 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Sat Mar 11 23:44:21 2006 +0000
@@ -578,7 +578,7 @@
 	
 	SDL_numjoysticks = 0;
 	
-	if (!gpDeviceList)
+	if (gpDeviceList)
 	{
 		SDL_SetError("Joystick: Device list already inited.");
 		return -1;