[mutter] Fix a couple of wrong indentations
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Fix a couple of wrong indentations
- Date: Fri, 14 Jul 2017 13:02:42 +0000 (UTC)
commit a9c1c6d9fbf6f2b87c4a845e8a0fdaea85b8d16d
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed Jun 14 12:23:53 2017 +0800
Fix a couple of wrong indentations
https://bugzilla.gnome.org/show_bug.cgi?id=765011
src/backends/meta-monitor.c | 2 +-
src/tests/monitor-unit-tests.c | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c
index ba12a13..672fb71 100644
--- a/src/backends/meta-monitor.c
+++ b/src/backends/meta-monitor.c
@@ -840,7 +840,7 @@ create_untiled_monitor_mode (MetaMonitorTiled *monitor_tiled,
};
mode->parent.id = generate_mode_id (&mode->parent.spec);
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++)
{
diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c
index 00d4e8e..ae70da4 100644
--- a/src/tests/monitor-unit-tests.c
+++ b/src/tests/monitor-unit-tests.c
@@ -1883,16 +1883,16 @@ meta_test_monitor_limited_crtcs (void)
.outputs = { 1 },
.n_outputs = 1,
.modes = {
+ {
+ .width = 1024,
+ .height = 768,
+ .crtc_modes = {
{
- .width = 1024,
- .height = 768,
- .crtc_modes = {
- {
- .output = 1,
- .crtc_mode = 0
- }
- }
+ .output = 1,
+ .crtc_mode = 0
}
+ }
+ }
},
.n_modes = 1,
.current_mode = -1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]