Fixed and closed #519 : changed all occurrences of ToLower() into ToLowerInvariant().

This commit is contained in:
Matteo Tomasini 2010-03-26 09:42:44 +00:00
parent 072ee52d8f
commit 5f05cecc20
8 changed files with 15 additions and 15 deletions

View file

@ -787,7 +787,7 @@ namespace ScrewTurn.Wiki {
btnCancelTemplate_Click(sender, e);
// If there's a category matching the selected template name, select it automatically
for (int i = 0; i < lstCategories.Items.Count; i++) {
if (lstCategories.Items[i].Value.ToLower().Trim() == lstTemplates.SelectedValue.ToLower().Trim()) {
if(lstCategories.Items[i].Value.ToLowerInvariant().Trim() == lstTemplates.SelectedValue.ToLowerInvariant().Trim()) {
lstCategories.Items[i].Selected = true;
}
}