From ddb9047904f172ce5419b6801765f06e1473018b Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Mon, 8 Oct 2007 20:12:06 +0000 Subject: [PATCH] Changed misleading variable name --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40485 --- sourcehook/sourcehook.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sourcehook/sourcehook.cpp b/sourcehook/sourcehook.cpp index 26bf61f..92778a4 100644 --- a/sourcehook/sourcehook.cpp +++ b/sourcehook/sourcehook.cpp @@ -696,12 +696,12 @@ namespace SourceHook CHookManagerContainer &container = m_HookManContainers.GetContainer(hookManager.GetVtblOffs(), hookManager.GetVtblIdx(), hookManager.GetProto()); - CHookManagerContainer::iterator cont_iter = container.find(CHookManager::Descriptor(plug, pubFunc)); + CHookManagerContainer::iterator hookman_iter = container.find(CHookManager::Descriptor(plug, pubFunc)); - if (cont_iter != container.end()) + if (hookman_iter != container.end()) { - for (List::iterator vfnptr_iter = cont_iter->GetVfnPtrList().begin(); - vfnptr_iter != cont_iter->GetVfnPtrList().end(); ++vfnptr_iter) + for (List::iterator vfnptr_iter = hookman_iter->GetVfnPtrList().begin(); + vfnptr_iter != hookman_iter->GetVfnPtrList().end(); ++vfnptr_iter) { for (List::iterator iface_iter = vfnptr_iter->GetIfaceList().begin(); iface_iter != vfnptr_iter->GetIfaceList().end(); ++iface_iter)