Skip to content

Commit

Permalink
Fix bug #8
Browse files Browse the repository at this point in the history
  • Loading branch information
studyzy committed Apr 4, 2019
1 parent 5b83414 commit 73480fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LearnEnglishBySubtitle/SentenceParse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public IList<KeyValuePair<string,string>> Pickup(string line)
if (wordMean != null)
{
var originalMean= Global.DictionaryService.GetChineseMeanInDict(original);
if (!wordMean.Detail.Contains( originalMean.Detail))
if (originalMean==null|| !wordMean.Detail.Contains( originalMean.Detail))
{
//找到的原型不对
original = wordLow;
Expand Down

0 comments on commit 73480fe

Please sign in to comment.