src/video/SDL_video.c
changeset 2046 da8332c8f480
parent 1985 8055185ae4ed
child 2062 c9aa6bcb26f3
     1.1 --- a/src/video/SDL_video.c	Sun Oct 01 02:06:37 2006 +0000
     1.2 +++ b/src/video/SDL_video.c	Sun Oct 01 02:28:41 2006 +0000
     1.3 @@ -198,8 +198,7 @@
     1.4      }
     1.5      if (driver_name != NULL) {
     1.6          for (i = 0; bootstrap[i]; ++i) {
     1.7 -            if (SDL_strncmp(bootstrap[i]->name, driver_name,
     1.8 -                            SDL_strlen(bootstrap[i]->name)) == 0) {
     1.9 +            if (SDL_strcasecmp(bootstrap[i]->name, driver_name) == 0) {
    1.10                  if (bootstrap[i]->available()) {
    1.11                      video = bootstrap[i]->create(index);
    1.12                  }