Fix a couple of wrong indentations

https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
Jonas Ådahl 2017-06-14 12:23:53 +08:00
parent 0a8e108f10
commit a9c1c6d9fb
2 changed files with 9 additions and 9 deletions

View File

@ -840,7 +840,7 @@ create_untiled_monitor_mode (MetaMonitorTiled *monitor_tiled,
}; };
mode->parent.id = generate_mode_id (&mode->parent.spec); mode->parent.id = generate_mode_id (&mode->parent.spec);
mode->parent.crtc_modes = g_new0 (MetaMonitorCrtcMode, mode->parent.crtc_modes = g_new0 (MetaMonitorCrtcMode,
g_list_length (monitor_priv->outputs)); g_list_length (monitor_priv->outputs));
for (l = monitor_priv->outputs, i = 0; l; l = l->next, i++) for (l = monitor_priv->outputs, i = 0; l; l = l->next, i++)
{ {

View File

@ -1883,16 +1883,16 @@ meta_test_monitor_limited_crtcs (void)
.outputs = { 1 }, .outputs = { 1 },
.n_outputs = 1, .n_outputs = 1,
.modes = { .modes = {
{
.width = 1024,
.height = 768,
.crtc_modes = {
{ {
.width = 1024, .output = 1,
.height = 768, .crtc_mode = 0
.crtc_modes = {
{
.output = 1,
.crtc_mode = 0
}
}
} }
}
}
}, },
.n_modes = 1, .n_modes = 1,
.current_mode = -1, .current_mode = -1,