[Mesa-dev] [PATCH mesa] loader: fix indentation

Eric Engestrom eric.engestrom at intel.com
Thu Aug 2 10:52:20 UTC 2018


Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
 src/loader/loader.c             | 4 ++--
 src/loader/loader_dri3_helper.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/loader/loader.c b/src/loader/loader.c
index 43275484cc2e0c845e10..fda49521aae4056214d5 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -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;
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 473fe6c9089d457faa4a..91bad86afd8479865aa2 100644
--- a/src/loader/loader_dri3_helper.c
+++ b/src/loader/loader_dri3_helper.c
@@ -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
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list