From: Tony Houghton <h@realh.co.uk>
Description: Correct building of list of env names to be replaced
Bug: https://bugs.launchpad.net/bugs/651578
Index: roxterm-1.18.5/src/roxterm.c
===================================================================
--- roxterm-1.18.5.orig/src/roxterm.c	2010-10-03 16:12:47.887096656 +0100
+++ roxterm-1.18.5/src/roxterm.c	2010-10-03 16:13:38.507096657 +0100
@@ -401,7 +401,7 @@
     equals = g_new(char *, replace_len + 1);
     equals[replace_len] = NULL;
     for (i = 0; i < replace_len; ++i)
-        equals[i] = g_strconcat(replace[i], "=", NULL);
+        equals[i] = g_strconcat(replace[i * 2], "=", NULL);
     result = g_new(char *, replace_len + env_len + 1);
     k = 0;
     for (j = 0; j < env_len; ++j)
