changeset 63:a7b12d28a6ab src

hop on menu calls, patch by Phil Hassey <philhassey@users.sourceforge.net>
author mroi
date Tue, 16 Jul 2002 16:24:19 +0000
parents 5ce99871a73f
children 2759605b41f6
files searching.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/searching.c	Sun Jul 14 11:09:42 2002 +0000
+++ b/searching.c	Tue Jul 16 16:24:19 2002 +0000
@@ -269,7 +269,8 @@
 
   pthread_mutex_lock(&this->vm_lock); 
   state = &(this->vm->state);
-  vm_menu_call(this->vm, menu, 0); 
+  if (vm_menu_call(this->vm, menu, 0))
+    this->vm->hop_channel++;
   pthread_mutex_unlock(&this->vm_lock); 
   return S_OK;
 }