projects
/
profile
/
ivi
/
wrt-plugins-tizen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build breaks in contact
[profile/ivi/wrt-plugins-tizen.git]
/
src
/
standards
/
Tizen
/
Mediacontent
/
JSMediacontent.cpp
diff --git
a/src/standards/Tizen/Mediacontent/JSMediacontent.cpp
b/src/standards/Tizen/Mediacontent/JSMediacontent.cpp
index
bad5baa
..
3141372
100755
(executable)
--- a/
src/standards/Tizen/Mediacontent/JSMediacontent.cpp
+++ b/
src/standards/Tizen/Mediacontent/JSMediacontent.cpp
@@
-404,13
+404,13
@@
JSValueRef JSMediacontent::findItems(
{
long count = filterConverter->toLong(arguments[5]);
{
long count = filterConverter->toLong(arguments[5]);
- if(count > 0
.0
)
+ if(count > 0)
{
dplEvent->setLimit(count);
}
{
dplEvent->setLimit(count);
}
- else if ( count == 0
.0
)
+ else if ( count == 0)
{
{
- dplEvent->setLimit(-1);
+ dplEvent->setLimit(-1);
// -1 is all row.
}
else
{
}
else
{
@@
-423,13
+423,13
@@
JSValueRef JSMediacontent::findItems(
if(argumentCount >= 7) //optional unsigned long? offset
{
long offset = filterConverter->toLong(arguments[6]);
if(argumentCount >= 7) //optional unsigned long? offset
{
long offset = filterConverter->toLong(arguments[6]);
- if(offset != 0
.0
)
+ if(offset != 0)
{
dplEvent->setOffset(offset);
}
else
{
{
dplEvent->setOffset(offset);
}
else
{
- dplEvent->setOffset(
-1);
+ dplEvent->setOffset(
0);
}
}
dplEvent->setPrivateData( DPL::StaticPointerCast<IEventPrivateData> (cbm));
}
}
dplEvent->setPrivateData( DPL::StaticPointerCast<IEventPrivateData> (cbm));