diff options
author | Pekka Paalanen <pekka.paalanen@collabora.com> | 2021-03-01 11:05:22 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.com> | 2021-03-09 12:13:08 +0200 |
commit | eb2aa7d8f397ee2b4b09e7c8212305a57afbad5e (patch) | |
tree | 98180a51033a2837c929f141913ba588ed97d94a | |
parent | f6ff85b1b7accae97e486b07cea9bc6fa177582e (diff) | |
download | weston-eb2aa7d8f397ee2b4b09e7c8212305a57afbad5e.tar.gz |
compositor: move colon in capability printing
The capability strings will be printed also in another occasion, where
the colon does not fit with the capability description.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-rw-r--r-- | compositor/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compositor/main.c b/compositor/main.c index 58ecdb68..dd40842f 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -779,9 +779,9 @@ static const struct { uint32_t bit; /* enum weston_capability */ const char *desc; } capability_strings[] = { - { WESTON_CAP_ROTATION_ANY, "arbitrary surface rotation:" }, - { WESTON_CAP_CAPTURE_YFLIP, "screen capture uses y-flip:" }, - { WESTON_CAP_COLOR_OPS, "color operations:" }, + { WESTON_CAP_ROTATION_ANY, "arbitrary surface rotation" }, + { WESTON_CAP_CAPTURE_YFLIP, "screen capture uses y-flip" }, + { WESTON_CAP_COLOR_OPS, "color operations" }, }; static void @@ -794,7 +794,7 @@ weston_compositor_log_capabilities(struct weston_compositor *compositor) weston_log("Compositor capabilities:\n"); for (i = 0; i < ARRAY_LENGTH(capability_strings); i++) { yes = compositor->capabilities & capability_strings[i].bit; - weston_log_continue(STAMP_SPACE "%s %s\n", + weston_log_continue(STAMP_SPACE "%s: %s\n", capability_strings[i].desc, yes ? "yes" : "no"); } |