summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-28 16:35:52 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-28 16:35:52 +0900
commit691250b1df45ef6015fc0bdeeaedad503a6e9290 (patch)
treec615471e6a4741051c3a630b0186ac1f0ceee85f
parent0992d05e77d8a6184621f0baebbae705d3ff6e99 (diff)
remove duplicate strcmp
-rw-r--r--src/lib/elm_win.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 45682f08e..9794ab9e3 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2847,12 +2847,11 @@ _accel_is_gl(void)
2847{ 2847{
2848 if ((_elm_accel_preference) && 2848 if ((_elm_accel_preference) &&
2849 ((!strcasecmp(_elm_accel_preference, "gl")) || 2849 ((!strcasecmp(_elm_accel_preference, "gl")) ||
2850 (!strcasecmp(_elm_accel_preference, "opengl")) || 2850 (!strcasecmp(_elm_accel_preference, "opengl")) ||
2851 (!strcasecmp(_elm_accel_preference, "3d")) || 2851 (!strcasecmp(_elm_accel_preference, "3d")) ||
2852 (!strcasecmp(_elm_accel_preference, "hw")) || 2852 (!strcasecmp(_elm_accel_preference, "hw")) ||
2853 (!strcasecmp(_elm_accel_preference, "accel")) || 2853 (!strcasecmp(_elm_accel_preference, "accel")) ||
2854 (!strcasecmp(_elm_accel_preference, "hardware")) || 2854 (!strcasecmp(_elm_accel_preference, "hardware"))
2855 (!strcasecmp(_elm_accel_preference, "accel"))
2856 )) 2855 ))
2857 return EINA_TRUE; 2856 return EINA_TRUE;
2858 return EINA_FALSE; 2857 return EINA_FALSE;