diff options
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | menu.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ VDR Plugin 'osdteletext' Revision History 20xx-xx-xx: version x.x.x - Updated Italian translation provided by Diego Pierotto (Closes #151) +- Fix valid page number check in TeletextBrowser::ExecuteAction (Closes #154) 2009-06-02: version 0.8.3 - Updated Ukrainian translation provided by Yarema P. aka Knedlyk (Closes #133) @@ -319,7 +319,7 @@ void TeletextBrowser::ExecuteAction(eTeletextAction e) { //This means, we convert the number to what it would be if the string //had been parsed with hexadecimal base. int pageNr=PSEUDO_HEX_TO_DECIMAL((int)e); - if (0x100<=pageNr<=0x899) { + if (0x100<=pageNr && pageNr<=0x899) { if (selectingChannel) { selectingChannel=false; Display::ClearMessage(); |
