gallery: modify the condition for media list 65/43565/2
authorJehun Lim <jehun.lim@samsung.com>
Fri, 10 Jul 2015 06:50:38 +0000 (15:50 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Fri, 10 Jul 2015 06:52:25 +0000 (15:52 +0900)
Change-Id: Ifeee8c7b88cd902ff7de1b22670955a3e3e9a08e
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
src/layout/gallery.c

index 00df395..61607c2 100644 (file)
@@ -28,8 +28,8 @@
 #include "util/listmgr.h"
 #include "util/util.h"
 
-#define LIST_MEDIA_COND "(media_type=0 OR media_type=1) \
-                               AND copyright LIKE \"Unknown\""
+#define LIST_MEDIA_COND "media_type=0 OR \
+                       (media_type=1 AND copyright LIKE \"Unknown\")"
 
 #define TEXT_NOCONTENT "No Photo & Video"