summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/l10n_util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/l10n_util.cc b/app/l10n_util.cc
index f163584..70755fe 100644
--- a/app/l10n_util.cc
+++ b/app/l10n_util.cc
@@ -129,7 +129,8 @@ bool IsLocaleAvailable(const std::string& locale,
return false;
FilePath test_path = locale_path;
- test_path.AppendASCII(locale).ReplaceExtension(kLocaleFileExtension);
+ test_path =
+ test_path.AppendASCII(locale).ReplaceExtension(kLocaleFileExtension);
return file_util::PathExists(test_path) && SetICUDefaultLocale(locale);
}