aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-23 13:06:44 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-23 13:06:44 +0200
commit067c27efe6df16749bd6209dcf7b7727ac368b86 (patch)
treed976c2fc4d2fcf1cf871cb56bf7455a7b7c424d2 /src
parent681deedbd838f58527f2ca80854d195b8992f3f5 (diff)
garbage collect unused code
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 4140fca9..6ca69243 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -1058,7 +1058,7 @@ void UI::set_render_layout(Widget &nw)
}
/*
- * Set the window title
+ * Set the tab title
*/
void UI::set_tab_title(const char *label)
{
@@ -1066,7 +1066,6 @@ void UI::set_tab_title(const char *label)
dReturn_if_fail(label != NULL);
- snprintf(title, 128, "Dillo: %s", label);
if (*label) {
// Make a label for this tab
size_t tab_chars = 18, label_len = strlen(label);