From: Eric Engestrom Date: Thu, 2 Aug 2018 10:49:40 +0000 (+0100) Subject: loader: fix indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd007d1c2ac6a50f799c7221fa1dd602e0261fde;p=mesa.git loader: fix indentation Signed-off-by: Eric Engestrom Reviewed-by: Frank Binns --- 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