From 9e4393c020e2dddc2198a726fdfb200267b90447 Mon Sep 17 00:00:00 2001 From: Jehun Lim Date: Fri, 10 Jul 2015 15:50:38 +0900 Subject: [PATCH] gallery: modify the condition for media list Change-Id: Ifeee8c7b88cd902ff7de1b22670955a3e3e9a08e Signed-off-by: Jehun Lim --- src/layout/gallery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/gallery.c b/src/layout/gallery.c index 00df395..61607c2 100644 --- a/src/layout/gallery.c +++ b/src/layout/gallery.c @@ -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" -- 2.7.4