Mercurial > libdvdnav.hg
comparison highlight.c @ 415:47c4e70d43ae src
Fix typos in comments
Mike Castle <dalgoda PLUS mplayer AT gmail DOT com> continues his
excellent job of finding issues in the comments. This patch has two
fixes for typos. Thanks Mike!
author | erik |
---|---|
date | Sun, 20 Mar 2011 18:06:39 +0000 |
parents | 9c5aef10d165 |
children |
comparison
equal
deleted
inserted
replaced
414:a67a8292eefe | 415:47c4e70d43ae |
---|---|
366 return DVDNAV_STATUS_ERR; | 366 return DVDNAV_STATUS_ERR; |
367 } | 367 } |
368 | 368 |
369 button_ptr = get_current_button(this, pci); | 369 button_ptr = get_current_button(this, pci); |
370 /* Finally, make the VM execute the appropriate code and probably | 370 /* Finally, make the VM execute the appropriate code and probably |
371 * scedule a jump */ | 371 * schedule a jump */ |
372 #ifdef BUTTON_TESTING | 372 #ifdef BUTTON_TESTING |
373 fprintf(MSG_OUT, "libdvdnav: Evaluating Button Activation commands.\n"); | 373 fprintf(MSG_OUT, "libdvdnav: Evaluating Button Activation commands.\n"); |
374 #endif | 374 #endif |
375 if(vm_exec_cmd(this->vm, &(button_ptr->cmd)) == 1) { | 375 if(vm_exec_cmd(this->vm, &(button_ptr->cmd)) == 1) { |
376 /* Command caused a jump */ | 376 /* Command caused a jump */ |
423 printerr("Button does not exist."); | 423 printerr("Button does not exist."); |
424 return DVDNAV_STATUS_ERR; | 424 return DVDNAV_STATUS_ERR; |
425 } | 425 } |
426 | 426 |
427 this->vm->state.HL_BTNN_REG = (button << 10); | 427 this->vm->state.HL_BTNN_REG = (button << 10); |
428 this->position_current.button = -1; /* Force Highligh change */ | 428 this->position_current.button = -1; /* Force Highlight change */ |
429 | 429 |
430 return DVDNAV_STATUS_OK; | 430 return DVDNAV_STATUS_OK; |
431 } | 431 } |
432 | 432 |
433 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *this, pci_t *pci, | 433 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *this, pci_t *pci, |