mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Followup to Bug 484019 - Fix corrupt or wrong roots titles in the database and in the Library. Wrong binding. r=sdwilsh
This commit is contained in:
parent
4f88c00c6c
commit
00b3590749
@ -2251,7 +2251,7 @@ nsNavBookmarks::SetItemTitle(PRInt64 aItemId, const nsACString &aTitle)
|
|||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
// Support setting a null title, we support this in insertBookmark.
|
// Support setting a null title, we support this in insertBookmark.
|
||||||
if (aTitle.IsVoid())
|
if (aTitle.IsVoid())
|
||||||
rv = mDBInsertBookmark->BindNullParameter(0);
|
rv = statement->BindNullParameter(0);
|
||||||
else
|
else
|
||||||
rv = statement->BindUTF8StringParameter(0, aTitle);
|
rv = statement->BindUTF8StringParameter(0, aTitle);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
Loading…
Reference in New Issue
Block a user