From d042c3ccd88ed0ae7bc4027e9b3478f1d5170657 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Mon, 26 Nov 2012 19:54:26 +0100 Subject: Fix bug in localize, created by recently changes Change-Id: I329c72fdca6ade502d4fdedaccc410dd4b7ea874 --- l10ntools/source/localize.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'l10ntools') diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 2a4ec00ec899..eb284eaaa8d4 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -403,7 +403,7 @@ bool excludeDirectory(OString const & directory) { "unxubt", "wntmsc" }; for (size_t i = 0; i != SAL_N_ELEMENTS(excluded); ++i) { - if (directory == excluded[i]) { + if (directory.startsWith(excluded[i])) { return true; } } -- cgit