summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--NEWS1
-rw-r--r--src/lib/emotion/emotion_modules.c6
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2762dad52b..40ff74b51c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
6 6
7 * Eina: add eina_file_refresh(), eina_file_virtualize() and eina_file_virtual(). 7 * Eina: add eina_file_refresh(), eina_file_virtualize() and eina_file_virtual().
8 * Evas: use eina_file_virtualize() for evas_object_image_memfile_set(). 8 * Evas: use eina_file_virtualize() for evas_object_image_memfile_set().
9 * Emotion: fix backend priority order.
9 10
102013-07-25 ChunEon Park (Hermet) 112013-07-25 ChunEon Park (Hermet)
11 12
diff --git a/NEWS b/NEWS
index 39b5d5946e..776442fe27 100644
--- a/NEWS
+++ b/NEWS
@@ -395,6 +395,7 @@ Fixes:
395 - Fix desktop command parsing of https. 395 - Fix desktop command parsing of https.
396 * Emotion: 396 * Emotion:
397 - Fix memory leak in gstreamer_ecore_x_check. 397 - Fix memory leak in gstreamer_ecore_x_check.
398 - Fix backend priority order.
398 * Ethumb: 399 * Ethumb:
399 - Fix memory leak in error case. 400 - Fix memory leak in error case.
400 * Eeze: 401 * Eeze:
diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c
index f971c0152a..1ba3c10bc1 100644
--- a/src/lib/emotion/emotion_modules.c
+++ b/src/lib/emotion/emotion_modules.c
@@ -37,14 +37,14 @@ static int
37_emotion_engine_registry_entry_cmp(const void *pa, const void *pb) 37_emotion_engine_registry_entry_cmp(const void *pa, const void *pb)
38{ 38{
39 const Emotion_Engine_Registry_Entry *a = pa, *b = pb; 39 const Emotion_Engine_Registry_Entry *a = pa, *b = pb;
40 int r = a->priority - b->priority; 40 int r = b->priority - a->priority;
41 41
42 if (r == 0) 42 if (r == 0)
43 r = a->engine->priority - b->engine->priority; 43 r = b->engine->priority - a->engine->priority;
44 44
45 if (r == 0) 45 if (r == 0)
46 /* guarantee some order to ease debug */ 46 /* guarantee some order to ease debug */
47 r = strcmp(a->engine->name, b->engine->name); 47 r = strcmp(b->engine->name, a->engine->name);
48 48
49 return r; 49 return r;
50} 50}