projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a622406
)
Fix Clipboard to return 0 when has no items
73/41973/2
author
Agnelo Vaz
<agnelo.vaz@samsung.com>
Fri, 19 Jun 2015 10:42:50 +0000
(11:42 +0100)
committer
Agnelo Vaz
<agnelo.vaz@samsung.com>
Fri, 19 Jun 2015 10:47:43 +0000
(
03:47
-0700)
Change-Id: If7ce529fa7dfe3ca0ef71a82a7663bf70dff80f1
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
adaptors/x11/clipboard-impl-x.cpp
patch
|
blob
|
history
diff --git
a/adaptors/x11/clipboard-impl-x.cpp
b/adaptors/x11/clipboard-impl-x.cpp
index
fdb3650
..
eafd12a
100644
(file)
--- a/
adaptors/x11/clipboard-impl-x.cpp
+++ b/
adaptors/x11/clipboard-impl-x.cpp
@@
-173,7
+173,7
@@
unsigned int Clipboard::NumberOfItems()
Ecore_X_Atom xAtomCbhmCountGet = ecore_x_atom_get( CBHM_cCOUNT );
std::string ret( ECore::WindowInterface::GetWindowProperty( xAtomCbhmCountGet, NULL, 0 ) );
- int count =
-1
;
+ int count =
0
;
if ( !ret.empty() )
{