mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-23 02:42:42 +00:00
Fix exception for empty dialog topics (Fixes #2267)
This commit is contained in:
parent
5b9d10f851
commit
37bea9d4dc
@ -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…
x
Reference in New Issue
Block a user