Mikolaj Zalewski : Fix menu tree drawing when comparing menu resources.

Alexandre Julliard julliard at winehq.org
Fri Jun 19 08:36:22 CDT 2009


Module: tools
Branch: master
Commit: 363d8f75a8e11f5c0fe5efb5aea7ef8f5709907f
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=363d8f75a8e11f5c0fe5efb5aea7ef8f5709907f

Author: Mikolaj Zalewski <mikolajz at tygrys.dom>
Date:   Sun Jun  7 11:58:27 2009 +0200

Fix menu tree drawing when comparing menu resources.

---

 php/lib_res.php |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/php/lib_res.php b/php/lib_res.php
index 279323e..9505c23 100644
--- a/php/lib_res.php
+++ b/php/lib_res.php
@@ -603,16 +603,14 @@ class MenuResource extends Resource
             dump_resource_row($id, $this, $master_res,
                 "dump_menuitem", "is_menuitem_different",
                 array($pos, $show[$i] & 1, &$tstate),
-                array($master_pos, $show[$i] & 2, &$tstate));
+                array($master_pos, $show[$i] & 2, &$tstate_master));
 
             if ($show[$i] & 1)
                 $pos++;
             if ($show[$i] & 2)
                 $master_pos++;
         }
-
     }
-    
 }
 
 class DialogResource extends Resource




More information about the wine-cvs mailing list