From b69282545c3a4ae4a168af062348f838774c5856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 5 Jul 2019 19:04:09 +0200 Subject: [PATCH] osc: fix param calculation with more than one digit --- osc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/osc.c b/osc.c index d8bcde24..559d5271 100644 --- a/osc.c +++ b/osc.c @@ -27,6 +27,7 @@ osc_dispatch(struct terminal *term) return false; } + param *= 10; param += c - '0'; } LOG_DBG("OCS: %.*s (param = %d)",