summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-03-05 17:18:51 +0100
committerportix <portix@gmx.net>2012-03-05 17:18:51 +0100
commit24ca1c58cd6ea7b118e8ecf91b088192bcad59f9 (patch)
tree1db4e992a1cf7c4f7a5155af251bc4400def5382 /src/util.c
parent4c8f4ad06499f6351763920a822c1d37d0dec66e (diff)
downloaddwb-24ca1c58cd6ea7b118e8ecf91b088192bcad59f9.zip
Only set default_search to NULL if the last searchengine is deleted
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index c94ccb66..681b1366 100644
--- a/src/util.c
+++ b/src/util.c
@@ -480,7 +480,6 @@ util_file_remove_line(const char *filename, const char *line) {
if (*tmp == '\0' || *tmp == '#')
g_string_append_printf(buffer, "%s\n", lines[i]);
else if (*tmp != '\0' && STRCMP_FIRST_WORD(tmp, line)) {
- printf("%s\n", tmp);
g_string_append_printf(buffer, "%s\n", lines[i]);
}
}