1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 17:28:00 +02:00

IDE fixes

This commit is contained in:
Brian Fiete 2020-06-10 07:12:26 -07:00
parent 5da74382d4
commit 76094437cb
2 changed files with 8 additions and 2 deletions

View file

@ -60,8 +60,12 @@ namespace IDE
{
if (wordResult case .Err)
break;
AddWord(wordResult);
mCustomDictionaryWordList.Add(new String(wordResult));
if (wordResult.Value.IsEmpty)
continue;
String wordStr = new String(wordResult);
AddWord(wordStr);
if (!mCustomDictionaryWordList.Add(wordStr))
delete wordStr;
}
}