Skip to content

Commit

Permalink
Fix #5718.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylangisc committed Feb 24, 2011
1 parent 13776c1 commit 9136e6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/ch/cyberduck/ui/controller/UserPreferences.cs
@@ -1,5 +1,5 @@
//
// Copyright (c) 2010 Yves Langisch. All rights reserved.
//
// Copyright (c) 2010-2011 Yves Langisch. All rights reserved.
// http://cyberduck.ch/
//
// This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -349,7 +349,7 @@ private string TryToMatchLocale(string sysLocale, List appLocales)
return l;
}
//remove region
int m = sysLocale.IndexOf('-');
int m = sysLocale.IndexOf('_');
if (m > 0)
{
string country = sysLocale.Substring(0, m);
Expand Down

0 comments on commit 9136e6e

Please sign in to comment.