← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2451: Fix a compile issue with MSVC compilation and a small typo

 

------------------------------------------------------------
revno: 2451
committer: bdcdevel <bdcdevel@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Wed 2011-03-09 13:44:02 -0600
message:
  Fix a compile issue with MSVC compilation and a small typo
modified:
  win32/DirectoryListingFrame.cpp
  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/DirectoryListingFrame.cpp'
--- win32/DirectoryListingFrame.cpp	2011-03-02 21:33:22 +0000
+++ win32/DirectoryListingFrame.cpp	2011-03-09 19:44:02 +0000
@@ -301,7 +301,7 @@
 
 		StringList ids;
 		auto addButton = [toolbar, &ids](unsigned icon, const tstring& text, unsigned helpId, const dwt::Dispatchers::VoidVoid<>::F& f) {
-			ids.push_back(string(1, '0' + ids.size()));
+			ids.push_back(std::string(1, '0' + ids.size()));
 			toolbar->addButton(ids.back(), WinUtil::toolbarIcon(icon), 0, text, helpId, f);
 		};
 		addButton(IDI_LEFT, T_("Back"), IDH_FILE_LIST_BACK, [this] { back(); });

=== modified file 'win32/UsersFrame.cpp'
--- win32/UsersFrame.cpp	2011-03-08 22:48:55 +0000
+++ win32/UsersFrame.cpp	2011-03-09 19:44:02 +0000
@@ -77,7 +77,7 @@
 	{ "I4", T_("IP (v4)"), &Text::toT },
 	{ "I6", T_("IP (v6)"), &Text::toT },
 	{ "U4", T_("Search port (v4)"), &Text::toT },
-	{ "U6", T_("Search port (v4)"), &Text::toT },
+	{ "U6", T_("Search port (v6)"), &Text::toT },
 	{ "SU", T_("Features"), &Text::toT },
 	{ "VE", T_("Client"), &Text::toT },
 	{ "ID", T_("CID"), &Text::toT },