summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 17:26:51 +0200
committerraveit65 <[email protected]>2021-12-11 16:32:26 +0100
commitf246ed277d447df829dd3e29a816db472c954f54 (patch)
treed36245d9343fec21008ed0aad86a0012bea3c3b6 /src
parenta905a4d11aa25be55bbe3b22d9c7b23b46a50e0c (diff)
downloadmarco-f246ed277d447df829dd3e29a816db472c954f54.tar.bz2
marco-f246ed277d447df829dd3e29a816db472c954f54.tar.xz
Remove whitespaces before #define, #ifdef, and #endif
Diffstat (limited to 'src')
-rw-r--r--src/compositor/compositor.c4
-rw-r--r--src/core/testboxes.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 68f54d92..39344e82 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -156,10 +156,10 @@ void meta_compositor_end_move (MetaCompositor *compositor,
void meta_compositor_free_window (MetaCompositor *compositor,
MetaWindow *window)
{
- #ifdef HAVE_COMPOSITE_EXTENSIONS
+#ifdef HAVE_COMPOSITE_EXTENSIONS
if (compositor && compositor->free_window)
compositor->free_window (compositor, window);
- #endif
+#endif
}
void
diff --git a/src/core/testboxes.c b/src/core/testboxes.c
index ecf35f2f..a48afa38 100644
--- a/src/core/testboxes.c
+++ b/src/core/testboxes.c
@@ -1105,7 +1105,7 @@ test_find_onscreen_edges (void)
tmp = g_list_prepend (tmp, new_screen_edge ( 0, 20, 0, 1180, left));
#if 0
- #define FUDGE 50 /* number of edges */
+#define FUDGE 50 /* number of edges */
char big_buffer1[(EDGE_LENGTH+2)*FUDGE], big_buffer2[(EDGE_LENGTH+2)*FUDGE];
meta_rectangle_edge_list_to_string (edges, "\n ", big_buffer1);
meta_rectangle_edge_list_to_string (tmp, "\n ", big_buffer2);
@@ -1194,7 +1194,7 @@ test_find_nonintersected_xinerama_edges (void)
tmp = g_list_prepend (tmp, new_xinerama_edge ( 800, 20, 0, 1080, right));
tmp = g_list_prepend (tmp, new_xinerama_edge ( 800, 20, 0, 1180, left));
#if 0
- #define FUDGE 50
+#define FUDGE 50
char big_buffer1[(EDGE_LENGTH+2)*FUDGE], big_buffer2[(EDGE_LENGTH+2)*FUDGE];
meta_rectangle_edge_list_to_string (edges, "\n ", big_buffer1);
meta_rectangle_edge_list_to_string (tmp, "\n ", big_buffer2);