summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-08-02 11:49:40 +0100
committerEric Engestrom <[email protected]>2018-08-02 12:53:58 +0100
commitdd007d1c2ac6a50f799c7221fa1dd602e0261fde (patch)
tree17d1217f9fb63e0439541ffd472e6609b5756fc4 /src/loader
parent9d3a2394e4d3f91f1e23a971ce34aaf031a1e777 (diff)
loader: fix indentation
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Frank Binns <[email protected]>
Diffstat (limited to 'src/loader')
-rw-r--r--src/loader/loader.c4
-rw-r--r--src/loader/loader_dri3_helper.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 43275484cc2..fda49521aae 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 473fe6c9089..91bad86afd8 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