git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix saving of nameservers
[enigma2.git]
/
lib
/
mmi
/
mmi_ui.cpp
diff --git
a/lib/mmi/mmi_ui.cpp
b/lib/mmi/mmi_ui.cpp
index 54b220cf600dfc0aa7dc4e8b5fdecb40a88968b2..70124f3332268396f5d647649ce3ba0164603865 100644
(file)
--- a/
lib/mmi/mmi_ui.cpp
+++ b/
lib/mmi/mmi_ui.cpp
@@
-40,17
+40,17
@@
int eMMI_UI::processMMIData(int slot_id, const unsigned char *tag, const void *d
{
unsigned char *d=(unsigned char*)data;
int timeout=0;
{
unsigned char *d=(unsigned char*)data;
int timeout=0;
- if (d[
3
] == 1)
+ if (d[
0
] == 1)
{
{
- if (len >
4
)
- timeout = d[
4
];
+ if (len >
1
)
+ timeout = d[
1
];
else
{
eDebug("mmi close tag incorrect.. no timeout given.. assume 5 seconds");
timeout = 5;
}
}
else
{
eDebug("mmi close tag incorrect.. no timeout given.. assume 5 seconds");
timeout = 5;
}
}
- else if (d[
3
] > 1)
+ else if (d[
0
] > 1)
eDebug("mmi close tag incorrect.. byte 4 should be 0 or 1");
mmiScreenClose(slot_id, timeout);
break;
eDebug("mmi close tag incorrect.. byte 4 should be 0 or 1");
mmiScreenClose(slot_id, timeout);
break;
@@
-295,7
+295,7
@@
int eMMI_UI::mmiScreenFinish(int slot)
void eMMI_UI::mmiSessionDestroyed(int slot)
{
void eMMI_UI::mmiSessionDestroyed(int slot)
{
-
stateChanged(slot
);
+
mmiScreenClose(slot, 0
);
}
PyObject *eMMI_UI::getMMIScreen(int slot)
}
PyObject *eMMI_UI::getMMIScreen(int slot)