[gnome-builder/wip/gtk4-port: 1562/1774] libide/foundry: iterate whole array
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1562/1774] libide/foundry: iterate whole array
- Date: Mon, 11 Jul 2022 22:31:50 +0000 (UTC)
commit ce454057301efcbce0a26c2d11918b76f5938887
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]