[gnome-builder/wip/gtk4-port] libide/foundry: iterate whole array
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/foundry: iterate whole array
- Date: Fri, 17 Jun 2022 08:33:34 +0000 (UTC)
commit be562d53572d1a9b98f87b98073a4055f99d3e58
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 17 01:33:08 2022 -0700
libide/foundry: iterate whole array
Copy paste error from overwrites.
src/libide/foundry/ide-run-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-context.c b/src/libide/foundry/ide-run-context.c
index e5a51a234..0bd1599f8 100644
--- a/src/libide/foundry/ide-run-context.c
+++ b/src/libide/foundry/ide-run-context.c
@@ -427,7 +427,7 @@ ide_run_context_getenv (IdeRunContext *self,
keylen = strlen (key);
- for (guint i = 0; i < layer->env->len-1; i++)
+ for (guint i = 0; i < layer->env->len; i++)
{
const char *envvar = g_array_index (layer->env, const char *, i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]