diff src/joystick/darwin/SDL_sysjoystick.c @ 1496:405e20dc004c

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 11 Mar 2006 23:44:21 +0000
parents dc6b59e925a2
children f12379c41042
line wrap: on
line diff
--- 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;