mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 15:02:35 +01:00
minor refact
This commit is contained in:
parent
27bd609059
commit
b433ce5c9d
@ -150,7 +150,7 @@ namespace NHunspell
|
||||
throw new InvalidOperationException("Dictionary is not loaded");
|
||||
}
|
||||
|
||||
if (word == null || word.Length == 0)
|
||||
if (string.IsNullOrEmpty(word))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user