shithub: orca

Download patch

ref: 14f1bc2abbcd341fd25b8478d603f99b6a36e7a6
parent: fcd848ee4101280c7c5e4cf6c65a76de27bea342
author: cancel <cancel@cancel.fm>
date: Tue Nov 27 08:54:25 EST 2018

Cleanup

--- a/sim.c
+++ b/sim.c
@@ -135,10 +135,6 @@
 #define BECOME(_glyph)                                                         \
   gbuffer_poke(gbuffer, height, width, y, x, This_oper_char)
 
-#define OPER_REQUIRE_BANG()                                                    \
-  if (!oper_has_neighboring_bang(gbuffer, height, width, y, x))                \
-  return
-
 #define LOCKING Mark_flag_lock
 #define NONLOCKING Mark_flag_none
 #define HASTE Mark_flag_haste_input
@@ -206,8 +202,6 @@
   _('I', 'i', increment)
 
 ORCA_DECLARE_OPERATORS(ORCA_SOLO_OPERATORS, ORCA_DUAL_OPERATORS)
-
-//////// Behavior
 
 MOVING_OPERATOR(north, -1, 0)
 MOVING_OPERATOR(east, 0, 1)