Merge branch 'v0.22.x'

This commit is contained in:
Max Kellermann
2021-05-26 11:57:41 +02:00
9 changed files with 92 additions and 39 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include "Sticker.hxx"
#include "lib/sqlite/Util.hxx"
#include "fs/Path.hxx"
#include "fs/NarrowPath.hxx"
#include "Idle.hxx"
#include "util/StringCompare.hxx"
#include "util/ScopeExit.hxx"
@@ -82,7 +83,7 @@ static const char sticker_sql_create[] =
"";
StickerDatabase::StickerDatabase(Path path)
:db(path.c_str())
:db(NarrowPath(path))
{
assert(!path.IsNull());