loader: fix indentation
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 2 Aug 2018 10:49:40 +0000 (11:49 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 2 Aug 2018 11:53:58 +0000 (12:53 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
src/loader/loader.c
src/loader/loader_dri3_helper.c

index 4327548..fda4952 100644 (file)
@@ -408,8 +408,8 @@ loader_get_extensions_name(const char *driver_name)
 
    const size_t len = strlen(name);
    for (size_t i = 0; i < len; i++) {
-          if (name[i] == '-')
-                  name[i] = '_';
+      if (name[i] == '-')
+         name[i] = '_';
    }
 
    return name;
index 473fe6c..91bad86 100644 (file)
@@ -444,7 +444,7 @@ dri3_handle_present_event(struct loader_dri3_drawable *draw,
             }
          }
 
-        /* If the server tells us that our allocation is suboptimal, we
+         /* If the server tells us that our allocation is suboptimal, we
           * reallocate once.
           */
 #ifdef HAVE_DRI3_MODIFIERS