git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c3a7c5
)
fixed undefined operation on variable 'i' (assuming big endian byte order in source...
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 22:16:46 +0000
(22:16 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 22:16:46 +0000
(22:16 +0000)
lib/base/estring.cpp
patch
|
blob
|
history
diff --git
a/lib/base/estring.cpp
b/lib/base/estring.cpp
index 10bfbef81ca130febe685bb7fbe6f3538d8e5ddf..18b277abac1a3cfd108f404f0338991d30126e1f 100644
(file)
--- a/
lib/base/estring.cpp
+++ b/
lib/base/estring.cpp
@@
-341,7
+341,8
@@
std::string convertDVBUTF8(const unsigned char *data, int len, int table, int ts
case 0x10:
{
// eDebug("(0x10)text encoded in ISO-8859-%d",n);
case 0x10:
{
// eDebug("(0x10)text encoded in ISO-8859-%d",n);
- int n=(data[++i]<<8)|(data[++i]);
+ int n=(data[++i]<<8);
+ n |= (data[++i]);
++i;
switch(n)
{
++i;
switch(n)
{