← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2434: crash fix

 

------------------------------------------------------------
revno: 2434
committer: Jacek Sieka <arnetheduck@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Mon 2011-02-21 20:05:49 +0100
message:
  crash fix
modified:
  win32/UsersFrame.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/UsersFrame.cpp'
--- win32/UsersFrame.cpp	2011-02-19 22:27:39 +0000
+++ win32/UsersFrame.cpp	2011-02-21 19:05:49 +0000
@@ -305,7 +305,8 @@
 
 	auto info = idents[0].getInfo();
 	for(size_t i = 1; i < idents.size(); ++i) {
-		for(auto j = idents[i].getInfo().begin(); j != idents[i].getInfo().end(); ++j) {
+		auto info2 = idents[i].getInfo();
+		for(auto j = info2.begin(); j != info2.end(); ++j) {
 			info[j->first] = j->second;
 		}
 	}