comparison src/video/macdsp/SDL_dspvideo.c @ 1811:e6de7e5fd451

Fixed bug #226 Just to make it compile with old CodeWarrior.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 May 2006 03:21:54 +0000
parents 8d9bb0cf2c2a
children c121d94672cb ab8297bf3768
comparison
equal deleted inserted replaced
1810:4c270c3a88ed 1811:e6de7e5fd451
680 680
681 dialog = GetNewDialog (rDialog, NULL, (WindowPtr) -1); 681 dialog = GetNewDialog (rDialog, NULL, (WindowPtr) -1);
682 if (dialog == NULL) 682 if (dialog == NULL)
683 return (0); 683 return (0);
684 684
685 #if TARGET_API_CARBON 685 #if TARGET_API_MAC_CARBON
686 SetPort (GetDialogPort(dialog)); 686 SetPort (GetDialogPort(dialog));
687 #else 687 #else
688 SetPort ((WindowPtr) dialog); 688 SetPort ((WindowPtr) dialog);
689 #endif 689 #endif
690 690