# HG changeset patch # User Sam Lantinga # Date 1159669803 0 # Node ID 842b03d703c5f16bce6b59a0014a29a6de9099f9 # Parent c1b6bb5205f120bfde3b60fbfbbbd103f13ffbaa backport from 1.3 diff -r c1b6bb5205f1 -r 842b03d703c5 src/video/SDL_video.c --- a/src/video/SDL_video.c Sun Oct 01 02:07:09 2006 +0000 +++ b/src/video/SDL_video.c Sun Oct 01 02:30:03 2006 +0000 @@ -175,8 +175,7 @@ } #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;