diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-10-24 14:28:57 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-10-24 14:28:57 -0600 |
commit | 3e5d1a08a4c722a6e4f8dd77a75f9239baa1b674 (patch) | |
tree | f46894cf64178b9b002002bb7df419b1c82158c0 /src | |
parent | a7b2e7453120d05548253996e9fcf723ccaab5e5 (diff) | |
parent | 279ab2449b9dfb63937f64d144983042b82d1fc3 (diff) |
Merge branch 'dev/status-fixes'
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index 5e8618e..6e72c32 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1925,7 +1925,7 @@ update_title (void) { if (b->show_status) { if (b->title_format_short && uzbl.gui.main_window) { parsed = expand(b->title_format_short, 0); - if(current_title && strcmp(current_title, parsed)) + if(!current_title || strcmp(current_title, parsed)) gtk_window_set_title (GTK_WINDOW(uzbl.gui.main_window), parsed); g_free(parsed); } @@ -1937,7 +1937,7 @@ update_title (void) { } else { if (b->title_format_long && uzbl.gui.main_window) { parsed = expand(b->title_format_long, 0); - if(current_title && strcmp(current_title, parsed)) + if(!current_title || strcmp(current_title, parsed)) gtk_window_set_title (GTK_WINDOW(uzbl.gui.main_window), parsed); g_free(parsed); } |