From 18183f3e4b504324952336147222640182c24119 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 26 Jan 2022 15:20:55 -0800 Subject: indent --- src/kilo.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/kilo.c b/src/kilo.c index 83da598..09ef33c 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1096,17 +1096,17 @@ static void editorGo(lua_State* L) { if (qlen != 0) query[--qlen] = '\0'; } else if (c == CTRL_X || c == ENTER) { if (c == ENTER) { - save_to_current_definition_and_editor_buffer(L, query); - clearEditor(); - editorOpen("teliva_editor_buffer"); - attrset(A_NORMAL); - clear(); - draw_callers_of_current_definition(L); + save_to_current_definition_and_editor_buffer(L, query); + clearEditor(); + editorOpen("teliva_editor_buffer"); + attrset(A_NORMAL); + clear(); + draw_callers_of_current_definition(L); } return; } else if (c == CTRL_U) { - qlen = 0; - query[qlen] = '\0'; + qlen = 0; + query[qlen] = '\0'; } else if (isprint(c)) { if (qlen < CURRENT_DEFINITION_LEN) { query[qlen++] = c; -- cgit 1.4.1-2-gfad0