diff --git a/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java b/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java index a65225166b35..3ce28f5bbfcc 100644 --- a/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java +++ b/plugins/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java @@ -188,7 +188,7 @@ public class SpellCheckerSettingsPane implements Disposable { private boolean isUserDictionary(final String dictionary) { boolean isUserDictionary = false; for (String dictionaryFolder : pathsChooserComponent.getValues()) { - if (dictionary.startsWith(dictionaryFolder)) { + if (FileUtil.toSystemIndependentName(dictionary).startsWith(dictionaryFolder)) { isUserDictionary = true; break; }