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>
This commit is contained in:
+4
-4
@@ -779,9 +779,9 @@ static const struct {
|
|||||||
uint32_t bit; /* enum weston_capability */
|
uint32_t bit; /* enum weston_capability */
|
||||||
const char *desc;
|
const char *desc;
|
||||||
} capability_strings[] = {
|
} capability_strings[] = {
|
||||||
{ WESTON_CAP_ROTATION_ANY, "arbitrary surface rotation:" },
|
{ WESTON_CAP_ROTATION_ANY, "arbitrary surface rotation" },
|
||||||
{ WESTON_CAP_CAPTURE_YFLIP, "screen capture uses y-flip:" },
|
{ WESTON_CAP_CAPTURE_YFLIP, "screen capture uses y-flip" },
|
||||||
{ WESTON_CAP_COLOR_OPS, "color operations:" },
|
{ WESTON_CAP_COLOR_OPS, "color operations" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -794,7 +794,7 @@ weston_compositor_log_capabilities(struct weston_compositor *compositor)
|
|||||||
weston_log("Compositor capabilities:\n");
|
weston_log("Compositor capabilities:\n");
|
||||||
for (i = 0; i < ARRAY_LENGTH(capability_strings); i++) {
|
for (i = 0; i < ARRAY_LENGTH(capability_strings); i++) {
|
||||||
yes = compositor->capabilities & capability_strings[i].bit;
|
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,
|
capability_strings[i].desc,
|
||||||
yes ? "yes" : "no");
|
yes ? "yes" : "no");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user