osc: use STRLEN() macro to make parse_rgb() more self-documenting

The empty literals in the macro are to ensure the argument itself
is a string literal, so it can't be used on anything else.
This commit is contained in:
Craig Barnes 2021-10-20 17:05:36 +01:00
parent 6dfacb9c08
commit 2e87889279
3 changed files with 5 additions and 4 deletions

View file

@ -158,6 +158,7 @@ vtlib = static_library(
'composed.c', 'composed.h',
'csi.c', 'csi.h',
'dcs.c', 'dcs.h',
'macros.h',
'osc.c', 'osc.h',
'sixel.c', 'sixel.h',
'vt.c', 'vt.h',