summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ted.c b/ted.c
index 95d07e2..5989f45 100644
--- a/ted.c
+++ b/ted.c
@@ -97,9 +97,6 @@ static void ted_load_fonts(Ted *ted) {
// sets the active buffer to this buffer, and updates active_node, etc. accordingly
// you can pass NULL to buffer to make it so no buffer is active.
static void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
- if (ted->active_buffer == buffer) return;
-
-
ted->active_buffer = buffer;
if (ted->find) find_update(ted, true);