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 43275484cc2e0c845e101627ba46e994073fb46c..fda49521aae4056214d54e9366acccc818cb64b9 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 473fe6c9089d457faa4a3ee5add52fed7805696b..91bad86afd8479865aa20e9c20d0acfccb817294 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