From e114325dbfb22f6d6c497c7515b13f05eb0a4e99 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Thu, 10 Jun 2021 15:12:25 -0700 Subject: [PATCH] Updated WolframAutomata's simulation speed related CLI flags to match README. --- hacks/WolframAutomata/WolframAutomata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hacks/WolframAutomata/WolframAutomata.c b/hacks/WolframAutomata/WolframAutomata.c index 25816a6..fe3ab1f 100644 --- a/hacks/WolframAutomata/WolframAutomata.c +++ b/hacks/WolframAutomata/WolframAutomata.c @@ -353,7 +353,7 @@ WolframAutomata_init(Display * dpy, Window win) /* the exponent in '2^11'. */ state->delay_microsec = 1 << ((random() % 3) + 11 + pixel_shift_range); } else { - state->delay_microsec = get_integer_resource(state->dpy, "delay-usec", "Integer"); + state->delay_microsec = get_integer_resource(state->dpy, "delay", "Integer"); } if (state->delay_microsec < 0) state->delay_microsec = 0; @@ -502,7 +502,7 @@ WolframAutomata_draw(Display * dpy, Window win, void * closure) } static const char * WolframAutomata_defaults[] = { - "*delay-usec: 25000", + "*delay: 25000", "*admiration-delay: 5", "*length: 5000", "*cell-size: 2", @@ -518,7 +518,7 @@ static const char * WolframAutomata_defaults[] = { }; static XrmOptionDescRec WolframAutomata_options[] = { - { "-delay-usec", ".delay-usec", XrmoptionSepArg, 0 }, + { "-delay", ".delay", XrmoptionSepArg, 0 }, { "-admiration-delay", ".admiration-delay", XrmoptionSepArg, 0 }, { "-length", ".length", XrmoptionSepArg, 0 }, { "-cell-size", ".cell-size", XrmoptionSepArg, 0 }, -- 2.20.1