Mercurial > libdvdnav.hg
changeset 205:ba43bdbb07e8 src
Update to allow events sent to the gui to tell it whether we are in a button or not.
author | jcdutton |
---|---|
date | Sun, 01 Jun 2003 21:55:22 +0000 |
parents | abb25c194c1b |
children | 4365aa830aed |
files | highlight.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/highlight.c Fri May 23 22:12:51 2003 +0000 +++ b/highlight.c Sun Jun 01 21:55:22 2003 +0000 @@ -213,7 +213,8 @@ } /* Simply return the appropriate value based on the SPRM */ - (*button) = this->position_current.button; + if(((*button) = this->position_current.button) == -1) + (*button) = this->vm->state.HL_BTNN_REG >> 10; return DVDNAV_STATUS_OK; }