repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
237d091
)
LibCecSharp: fixed return value of GetActiveDevices(). issue #131
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 8 Mar 2013 12:31:00 +0000
(13:31 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 8 Mar 2013 12:51:59 +0000
(13:51 +0100)
src/LibCecSharp/LibCecSharp.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/LibCecSharp/LibCecSharp.cpp
b/src/LibCecSharp/LibCecSharp.cpp
index ecb9bea9223f0f74abefa161f3f7f08818df7078..889bd4758d1fbe2c647ea216fb9d057caba00361 100644
(file)
--- a/
src/LibCecSharp/LibCecSharp.cpp
+++ b/
src/LibCecSharp/LibCecSharp.cpp
@@
-377,7
+377,7
@@
namespace CecSharp
for (uint8_t iPtr = 0; iPtr < 16; iPtr++)
if (activeDevices[iPtr])
for (uint8_t iPtr = 0; iPtr < 16; iPtr++)
if (activeDevices[iPtr])
- retVal->
Addresses[iDevices++] = (CecLogicalAddress)iPtr
;
+ retVal->
Set((CecLogicalAddress)iPtr)
;
return retVal;
}
return retVal;
}