From f8395886d3d936602c56385b46334f8f5008776f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 30 Jul 2015 20:32:32 +0200 Subject: [PATCH] Formatting --- src/mir_monitor.c | 8 ++++---- src/mir_window.c | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mir_monitor.c b/src/mir_monitor.c index 9ee6d24d..f5fa0e98 100644 --- a/src/mir_monitor.c +++ b/src/mir_monitor.c @@ -112,10 +112,10 @@ void FillInRGBBitsFromPixelFormat(GLFWvidmode* mode, MirPixelFormat const pf) case mir_pixel_format_bgr_888: case mir_pixel_format_rgb_888: default: - mode->redBits = 8; - mode->greenBits = 8; - mode->blueBits = 8; - break; + mode->redBits = 8; + mode->greenBits = 8; + mode->blueBits = 8; + break; } } diff --git a/src/mir_window.c b/src/mir_window.c index 8d64f919..53c21a64 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -707,15 +707,15 @@ char const* getSystemCursorName(int shape) switch (shape) { case GLFW_ARROW_CURSOR: - return mir_arrow_cursor_name; + return mir_arrow_cursor_name; case GLFW_IBEAM_CURSOR: - return mir_caret_cursor_name; + return mir_caret_cursor_name; case GLFW_CROSSHAIR_CURSOR: - return mir_crosshair_cursor_name; + return mir_crosshair_cursor_name; case GLFW_HAND_CURSOR: - return mir_open_hand_cursor_name; + return mir_open_hand_cursor_name; case GLFW_HRESIZE_CURSOR: - return mir_horizontal_resize_cursor_name; + return mir_horizontal_resize_cursor_name; case GLFW_VRESIZE_CURSOR: return mir_vertical_resize_cursor_name; }