summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-08 11:35:16 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-08 11:35:16 -0500
commit84f650da7824e1600479b54a4b75d56e9e59e06b (patch)
tree2786d247f33dea3676e0bf8cd56fc9c9343dfc27
parentabec84f7b2ee0f75c4622a6d4469dbf0c7eaf5ad (diff)
small fix
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 976593f..4570486 100644
--- a/main.c
+++ b/main.c
@@ -574,7 +574,6 @@ int main(int argc, char **argv) {
node_frame(ted, node, rect4(x1, y1, x2, y2));
if (ted->find) {
find_menu_frame(ted);
- if (ted->find) y2 -= find_menu_height(ted);
}
} else {
text_utf8_anchored(font, "Press Ctrl+O to open a file or Ctrl+N to create a new one.",