From 46ab108194e1cd8ebd38e11b9c93e67974cb6586 Mon Sep 17 00:00:00 2001 From: Peter Schojer Date: Mon, 9 Jun 2008 09:49:24 +0000 Subject: [PATCH] fixed delegates error --- WebWidgets/ExtJS/src/Utility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebWidgets/ExtJS/src/Utility.cpp b/WebWidgets/ExtJS/src/Utility.cpp index 1d5d4a787..52a12276c 100644 --- a/WebWidgets/ExtJS/src/Utility.cpp +++ b/WebWidgets/ExtJS/src/Utility.cpp @@ -483,9 +483,9 @@ bool Utility::writeJSEvent(std::ostream& out, const std::string& eventName, cons { // TODO: we can optimize here a bit by avoiding the copy std::list dels; - std::list::const_iterator it = dels.begin(); + std::list::const_iterator it = delegates.begin(); bool written = false; - for (; it != dels.end(); ++it, --serverCallPos) + for (; it != delegates.end(); ++it, --serverCallPos) { if (serverCallPos == 0) {