# HG changeset patch # User jcdutton # Date 1054504522 0 # Node ID ba43bdbb07e8e19da9eede451ec3058687683e8a # Parent abb25c194c1bac20f8805d241aae601289214d76 Update to allow events sent to the gui to tell it whether we are in a button or not. diff -r abb25c194c1b -r ba43bdbb07e8 highlight.c --- 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; }