about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/parameter.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2191c1228..ba1faa4d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-05-21  Peter Stephenson  <pws@csr.com>
 
+	* 23446: Src/Modules/parameter.c: a typo meant scanning
+	alias parameters returned a value the same as the key.
+
 	* Unposted, see discussion around 23431: MACHINES: mention
 	multibyte oddity on MacOS.
 
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index d9b8d1b4f..7b790acc6 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -1778,7 +1778,7 @@ scanaliases(HashTable alht, UNUSED(HashTable ht), ScanFunc func,
 		if (func != scancountparams &&
 		    ((pmflags & (SCANPM_WANTVALS|SCANPM_MATCHVAL)) ||
 		     !(pmflags & SCANPM_WANTKEYS)))
-		    pm.u.str = dupstring(al->node.nam);
+		    pm.u.str = dupstring(al->text);
 		func(&pm.node, pmflags);
 	    }
 	}