aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-location-common.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-27 15:52:37 +0100
committerAleksander Morgado <aleksander@aleksander.es>2019-10-27 15:57:30 +0100
commitf9ea0c1d9cfe6b57a556060b7d9374a64457d183 (patch)
treeb527997de6d0277c10d269833eedfbcfc5eca216 /libmm-glib/mm-location-common.h
parent1576c7d8009f4e1ca60004863b8a88b2105c103f (diff)
cli,output: fix truncated array output when == 10 elements
The extra character size was only being applied when > 10 elements, leaving the == 10 case out of it, so the output was being truncated. Fix it, by using a more generic way to computing how many extra characters we need in the size. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/151
Diffstat (limited to 'libmm-glib/mm-location-common.h')
0 files changed, 0 insertions, 0 deletions