altos: Allow pyro config name to end with newline, not just space/tab
authorKeith Packard <keithp@keithp.com>
Mon, 2 Oct 2017 23:57:15 +0000 (16:57 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 2 Oct 2017 23:57:15 +0000 (16:57 -0700)
commit770998be2c15dd41a63520d0c8747d7cf32ec447
treec843515859f35eb5cb698063980f23cee639e3cd
parentde2b6ec1cdfd48c948bff7edbfe2540440429b1b
altos: Allow pyro config name to end with newline, not just space/tab

A pyro config like 'Descending' has no value associated. When it is at
the end of the line, allow a newline to terminate the name instead of
just a space.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_pyro.c