summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3cc5f87)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
static void
titlechange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
const gchar *t = webkit_web_view_get_title(view);
static void
titlechange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
const gchar *t = webkit_web_view_get_title(view);
- c->title = copystr(&c->title, t);
- updatetitle(c);
+ if (t) {
+ c->title = copystr(&c->title, t);
+ updatetitle(c);
+ }