minor mods

This commit is contained in:
elias.bachaalany@gmail.com 2014-07-28 18:11:34 +00:00
parent fbb5bfabd6
commit 960a670de9

View File

@ -1330,8 +1330,8 @@ static int idaapi on_ui_notification(void *, int code, va_list va)
case ui_add_menu_item: case ui_add_menu_item:
if ( hexdsp == NULL ) if ( hexdsp == NULL )
{ {
const char *name = va_arg(va, char *); (void)va_arg(va, char *); // Drop 'menupath'
name = va_arg(va, char *); // Drop 'menupath'. Look for 'name'. const char *name = va_arg(va, char *); // Look for 'name'.
if ( streq(name, "Jump to pseudocode") ) if ( streq(name, "Jump to pseudocode") )
{ {
init_hexrays_plugin(0); init_hexrays_plugin(0);