git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit 249b7838e566e4b7533869a0001e571f44d9d8a0
parent fabf54a6b0247a1dd6ede22aede16254e43e4a4e
Author: Rob King <jking@deadpixi.com>
Date:   Sat,  8 Jul 2017 21:41:42 -0500

Style fix.

Diffstat:
Mvtparser.c6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/vtparser.c b/vtparser.c @@ -81,10 +81,8 @@ param(VTPARSER *v, wchar_t w) if (w == L';') v->args[v->narg++] = 0; - else if (v->narg < MAXPARAM){ - if (v->args[v->narg - 1] < 9999) - v->args[v->narg - 1] = v->args[v->narg - 1] * 10 + (w - 0x30); - } + else if (v->narg < MAXPARAM && v->args[v->narg - 1] < 9999) + v->args[v->narg - 1] = v->args[v->narg - 1] * 10 + (w - 0x30); } #define DO(k, t, f, n, a) \

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.