From 357f958cd1d68dfb5f78c03aa75d7b2a65422010 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 18 Mar 2019 18:20:32 -0700 Subject: [PATCH] Moved comment closer to the relevant code --- conway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conway.c b/conway.c index 27609c3..396c0f0 100644 --- a/conway.c +++ b/conway.c @@ -67,10 +67,10 @@ int main(int argc, char **argv) { tb_select_input_mode(TB_INPUT_MOUSE); tb_select_output_mode(TB_OUTPUT_256); - // Cells are 2 characters wide so they look square char *buffers[2]; int flipflop = 0; resize: + // Cells are 2 characters wide so they look square W = tb_width()/2, H = tb_height(); buffers[0] = calloc(W*H, sizeof(char)); buffers[1] = calloc(W*H, sizeof(char));