mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-10 12:36:53 +03:00
Fix exception for empty dialog topics (Fixes #2267)
This commit is contained in:
parent
5b9d10f851
commit
37bea9d4dc
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ public:
|
||||||
|
|
||||||
void seed (string_t keyword, value_t value)
|
void seed (string_t keyword, value_t value)
|
||||||
{
|
{
|
||||||
|
if (keyword.empty())
|
||||||
|
return;
|
||||||
seed_impl (/*std::move*/ (keyword), /*std::move*/ (value), 0, mRoot);
|
seed_impl (/*std::move*/ (keyword), /*std::move*/ (value), 0, mRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue