changeset 1122:60c594957852

garbage collect unused code
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 23 May 2009 13:06:44 +0200
parents 2e15019ca9cd
children dfbb2dac3b27
files src/ui.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui.cc	Fri May 22 18:02:05 2009 +0000
+++ b/src/ui.cc	Sat May 23 13:06:44 2009 +0200
@@ -1058,7 +1058,7 @@
 }
 
 /*
- * Set the window title
+ * Set the tab title
  */
 void UI::set_tab_title(const char *label)
 {
@@ -1066,7 +1066,6 @@
 
    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);