remove duplicate strcmp
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 28 Mar 2014 07:35:52 +0000 (16:35 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 28 Mar 2014 07:35:52 +0000 (16:35 +0900)
src/lib/elm_win.c

index 45682f0..9794ab9 100644 (file)
@@ -2847,12 +2847,11 @@ _accel_is_gl(void)
 {
    if ((_elm_accel_preference) &&
        ((!strcasecmp(_elm_accel_preference, "gl")) ||
-           (!strcasecmp(_elm_accel_preference, "opengl")) ||
-           (!strcasecmp(_elm_accel_preference, "3d")) ||
-           (!strcasecmp(_elm_accel_preference, "hw")) ||
-           (!strcasecmp(_elm_accel_preference, "accel")) ||
-           (!strcasecmp(_elm_accel_preference, "hardware")) ||
-           (!strcasecmp(_elm_accel_preference, "accel"))
+        (!strcasecmp(_elm_accel_preference, "opengl")) ||
+        (!strcasecmp(_elm_accel_preference, "3d")) ||
+        (!strcasecmp(_elm_accel_preference, "hw")) ||
+        (!strcasecmp(_elm_accel_preference, "accel")) ||
+        (!strcasecmp(_elm_accel_preference, "hardware"))
        ))
      return EINA_TRUE;
    return EINA_FALSE;