shithub: orca

Download patch

ref: f35b4faeb1b1d56c35abf60133c22effcb7752e4
parent: 14f1bc2abbcd341fd25b8478d603f99b6a36e7a6
author: cancel <cancel@cancel.fm>
date: Tue Nov 27 10:00:27 EST 2018

Fix incorrect 'BECOME' definition

--- a/sim.c
+++ b/sim.c
@@ -132,8 +132,7 @@
 #define POKE(_delta_y, _delta_x, _glyph)                                       \
   gbuffer_poke_relative(gbuffer, height, width, y, x, _delta_y, _delta_x,      \
                         _glyph)
-#define BECOME(_glyph)                                                         \
-  gbuffer_poke(gbuffer, height, width, y, x, This_oper_char)
+#define BECOME(_glyph) gbuffer_poke(gbuffer, height, width, y, x, _glyph)
 
 #define LOCKING Mark_flag_lock
 #define NONLOCKING Mark_flag_none