projects
/
platform
/
core
/
uifw
/
capi-ui-sticker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06197b9
)
Fix invalid condition check
45/231845/1
author
InHong Han
<inhong1.han@samsung.com>
Fri, 24 Apr 2020 11:35:11 +0000
(20:35 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Fri, 24 Apr 2020 11:35:11 +0000
(20:35 +0900)
Change-Id: Ifccd8a1252d05c160d88192594f00c8100dae770
consumer/sticker_consumer.c
patch
|
blob
|
history
diff --git
a/consumer/sticker_consumer.c
b/consumer/sticker_consumer.c
index
8f6c03f
..
1c11f19
100644
(file)
--- a/
consumer/sticker_consumer.c
+++ b/
consumer/sticker_consumer.c
@@
-539,7
+539,7
@@
EXPORT_API int sticker_consumer_add_recent_data(sticker_consumer_h consumer_hand
int ret;
- if (!consumer_handle || !data_handle || (data_handle->sticker_info_id
>
0) || !data_handle->uri)
+ if (!consumer_handle || !data_handle || (data_handle->sticker_info_id
<=
0) || !data_handle->uri)
return STICKER_ERROR_INVALID_PARAMETER;
ret = sticker_dbus_insert_recent_sticker_info(consumer_handle->gdbus_connection, data_handle->sticker_info_id);