summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-28 22:21:26 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-28 22:21:26 -0500
commit181b1256871e392da63951f82c16b4908e5b651e (patch)
tree39777eca39f15e75fad283748fe2b5082c1bbf7a /ted.c
parent9d9993607c9093bd59a02138f5e51f1c678e17e9 (diff)
on crash, output info to log
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);