NULL-check new speed dial titles to avoid "(null)"
This commit is contained in:
parent
0e5cb28e09
commit
948301f086
1 changed files with 1 additions and 1 deletions
|
@ -3787,7 +3787,7 @@ prepare_speed_dial_html (MidoriView* view)
|
||||||
"<a class=\"cross\" href=\"#\" onclick='clearShortcut(\"s%d\");'></a>"
|
"<a class=\"cross\" href=\"#\" onclick='clearShortcut(\"s%d\");'></a>"
|
||||||
"<a href=\"%s\"><img src=\"data:image/png;base64,%s\"></a>"
|
"<a href=\"%s\"><img src=\"data:image/png;base64,%s\"></a>"
|
||||||
"</div><div class=\"title\" onclick='renameShortcut(\"s%d\");'>%s</div></div>\n",
|
"</div><div class=\"title\" onclick='renameShortcut(\"s%d\");'>%s</div></div>\n",
|
||||||
slot, slot, uri, encoded, slot, title);
|
slot, slot, uri, encoded, slot, title ? title : "");
|
||||||
|
|
||||||
g_free (title);
|
g_free (title);
|
||||||
g_free (encoded);
|
g_free (encoded);
|
||||||
|
|
Loading…
Reference in a new issue