OSDN Git Service

conf: snd_config_save() - print arrays as [] not the internal representation
authorJaroslav Kysela <perex@perex.cz>
Sun, 7 Mar 2021 19:58:45 +0000 (20:58 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 7 Mar 2021 20:02:20 +0000 (21:02 +0100)
commit8bd9e7897d9e06fafbda07be754598d7e64b735a
treef1e6cbc5a1b029ae1f2ef5ed8b39f539b31f306f
parent5766e54fbe3c5de564c7643c1649490868b94282
conf: snd_config_save() - print arrays as [] not the internal representation

The internal represention of an array is:

{
0 value1
1 value2
2 value2
...
}

which is identicatal to shorter:

[
value1
value2
value3
]

Always print the short format. It's more optimized and readable.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf.c