core: Reindent

This commit is contained in:
Jasper St. Pierre 2014-05-25 08:17:47 -04:00
parent c98090c061
commit 969131f00e

View File

@ -86,16 +86,18 @@ meta_core_get (Display *xdisplay,
*/ */
if (request != META_CORE_WINDOW_HAS_FRAME && if (request != META_CORE_WINDOW_HAS_FRAME &&
(window == NULL || window->frame == NULL)) { (window == NULL || window->frame == NULL))
{
meta_bug ("No such frame window 0x%lx!\n", xwindow); meta_bug ("No such frame window 0x%lx!\n", xwindow);
goto out; goto out;
} }
while (request != META_CORE_GET_END) { while (request != META_CORE_GET_END)
{
gpointer answer = va_arg (args, gpointer); gpointer answer = va_arg (args, gpointer);
switch (request) { switch (request)
{
case META_CORE_WINDOW_HAS_FRAME: case META_CORE_WINDOW_HAS_FRAME:
*((gboolean*)answer) = window != NULL && window->frame != NULL; *((gboolean*)answer) = window != NULL && window->frame != NULL;
if (!*((gboolean*)answer)) goto out; /* see above */ if (!*((gboolean*)answer)) goto out; /* see above */