← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2889: fix the language selector

 

------------------------------------------------------------
revno: 2889
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2012-03-22 20:39:27 +0100
message:
  fix the language selector
modified:
  win32/AppearancePage.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/AppearancePage.cpp'
--- win32/AppearancePage.cpp	2012-03-03 19:33:45 +0000
+++ win32/AppearancePage.cpp	2012-03-22 19:39:27 +0000
@@ -151,6 +151,8 @@
 
 		if(selected == 0 && (i.first == cur || (i.first == "en" && cur == "C"))) {
 			selected = j;
+		} else {
+			++j;
 		}
 	}