summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1f62e9d..4b3dae6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -100,14 +100,14 @@ static int setup_video(til_settings_t *settings, til_setting_t **res_setting, co
/* XXX: this is kind of hacky for now */
#ifdef HAVE_DRM
- if (!strcmp(video, "drm")) {
+ if (!strcasecmp(video, "drm")) {
fb_ops = &drm_fb_ops;
return drm_fb_ops.setup(settings, res_setting, res_desc, res_setup);
}
#endif
#ifdef HAVE_SDL
- if (!strcmp(video, "sdl")) {
+ if (!strcasecmp(video, "sdl")) {
fb_ops = &sdl_fb_ops;
return sdl_fb_ops.setup(settings, res_setting, res_desc, res_setup);
© All Rights Reserved