Navigation Menu

Skip to content

Commit

Permalink
backport from 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 1, 2006
1 parent 15396c3 commit 78a83dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/video/SDL_video.c
Expand Up @@ -175,8 +175,7 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags)
}
#endif
for ( i=0; bootstrap[i]; ++i ) {
if ( SDL_strncmp(bootstrap[i]->name, driver_name,
SDL_strlen(bootstrap[i]->name)) == 0 ) {
if ( SDL_strcasecmp(bootstrap[i]->name, driver_name) == 0) {
if ( bootstrap[i]->available() ) {
video = bootstrap[i]->create(index);
break;
Expand Down

0 comments on commit 78a83dc

Please sign in to comment.