[Libreoffice-commits] .: l10ntools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 26 11:08:31 PST 2012
l10ntools/source/localize.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d042c3ccd88ed0ae7bc4027e9b3478f1d5170657
Author: Zolnai Tamás <zolnaitamas2000g at gmail.com>
Date: Mon Nov 26 19:54:26 2012 +0100
Fix bug in localize, created by recently changes
Change-Id: I329c72fdca6ade502d4fdedaccc410dd4b7ea874
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index 2a4ec00..eb284ea 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;
}
}
More information about the Libreoffice-commits
mailing list