projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e3b9bd
)
[cnp_helper] add bmp format type
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 9 Nov 2010 04:31:55 +0000
(
04:31
+0000)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 9 Nov 2010 04:31:55 +0000
(
04:31
+0000)
src/lib/elm_cnp_helper.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp_helper.c
b/src/lib/elm_cnp_helper.c
index
3620a22
..
1af9aa5
100644
(file)
--- a/
src/lib/elm_cnp_helper.c
+++ b/
src/lib/elm_cnp_helper.c
@@
-715,9
+715,9
@@
notify_handler_uri(struct _elm_cnp_selection *sel,
else
p += strlen("file://");
- if ((!str
str(p,".png")) && (!strstr(p,".jpg
")))
+ if ((!str
casestr(p,".png")) && (!strcasestr(p,".jpg")) && (!strcasestr(p,".bmp
")))
{
- cnp_debug("No
png
, ignoring\n");
+ cnp_debug("No
image(png, jpg and bmp)
, ignoring\n");
if (savedtypes.textreq) savedtypes.textreq = 0;
return 0;
}