Patch #1005 2006-04-23 19:38

daniel2000

fix of typos in menuutils.cpp
Download
1005-fix_of_typos_i.patch (713 bytes)
Category
Plugin::Bugfix
Status
Accepted
Close date
2006-04-23 20:25
Assigned to
pecan
Index: src/plugins/contrib/keybinder/menuutils.cpp
===================================================================
--- src/plugins/contrib/keybinder/menuutils.cpp    (Revision 2370)
+++ src/plugins/contrib/keybinder/menuutils.cpp    (Arbeitskopie)
@@ -92,7 +92,7 @@
     if (strText.Left(1).IsNumber())
       return;
 
-    wxString str = pLclMenuItem->GetLabel();
+    wxString str = pLclMnuItem->GetLabel();
 
     // on GTK, an optimization in wxMenu::SetText checks
     // if the new label is identic to the old and in this
@@ -109,7 +109,7 @@
 
         // no more shortcuts for this menuitem: SetText()
         // will delete the hotkeys associated...
-        pLclMenuItem->SetText(str);
+        pLclMnuItem->SetText(str);
         return;
     }
 
daniel2000 2006-04-23 19:41

Didn't create patch in cb root direction. Did this with this patch.

pecan 2006-04-23 20:19

Thank you.

I've commited the patch.

pecan