diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-07 08:47:22 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-07 08:47:22 +0100 |
commit | 18159927e8f37a1858f9757803b20744fcfff505 (patch) | |
tree | 20bcaf53435839502e6cb2239132913a101fec69 /mailnews/local/src/nsMsgLocalStoreUtils.cpp | |
parent | 642032029f65e9dc0d38fbb6d35ef656c73a292c (diff) | |
parent | 5ba7f92d5a26581c91649006d9c97e4f244663e9 (diff) | |
download | UXP-18159927e8f37a1858f9757803b20744fcfff505.tar UXP-18159927e8f37a1858f9757803b20744fcfff505.tar.gz UXP-18159927e8f37a1858f9757803b20744fcfff505.tar.lz UXP-18159927e8f37a1858f9757803b20744fcfff505.tar.xz UXP-18159927e8f37a1858f9757803b20744fcfff505.zip |
Merge branch 'master' into release
Diffstat (limited to 'mailnews/local/src/nsMsgLocalStoreUtils.cpp')
-rw-r--r-- | mailnews/local/src/nsMsgLocalStoreUtils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mailnews/local/src/nsMsgLocalStoreUtils.cpp b/mailnews/local/src/nsMsgLocalStoreUtils.cpp index 17d9b0f29..642694d3b 100644 --- a/mailnews/local/src/nsMsgLocalStoreUtils.cpp +++ b/mailnews/local/src/nsMsgLocalStoreUtils.cpp @@ -28,6 +28,9 @@ nsMsgLocalStoreUtils::AddDirectorySeparator(nsIFile *path) bool nsMsgLocalStoreUtils::nsShouldIgnoreFile(nsAString& name) { + if (name.IsEmpty()) + return true; + char16_t firstChar = name.First(); if (firstChar == '.' || firstChar == '#' || name.CharAt(name.Length() - 1) == '~') |