From: Eric Engestrom Date: Thu, 2 Aug 2018 10:49:40 +0000 (+0100) Subject: loader: fix indentation X-Git-Tag: upstream/19.0.0~3398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd007d1c2ac6a50f799c7221fa1dd602e0261fde;p=platform%2Fupstream%2Fmesa.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 4327548..fda4952 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 473fe6c..91bad86 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