atari:gem: Fix EdDI cookie detection. SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Wed, 13 Aug 2014 13:36:26 +0200
branchSDL-1.2
changeset 9060 02bf904f2007
parent 9059 9a9f56143400
child 9061 0508cde87ddc
atari:gem: Fix EdDI cookie detection.
src/video/gem/SDL_gemvideo.c
--- a/src/video/gem/SDL_gemvideo.c	Wed Aug 13 11:02:11 2014 +0200
+++ b/src/video/gem/SDL_gemvideo.c	Wed Aug 13 13:36:26 2014 +0200
@@ -220,7 +220,7 @@
 	Uint16 clut_type;
 
 	/* Read EdDI informations */
-	if  (Getcookie(C_EdDI, &cookie_EdDI) == C_NOTFOUND) {
+	if  (Getcookie(C_EdDI, &cookie_EdDI) != C_FOUND) {
 		return;
 	}