summary refs log tree commit diff
path: root/Src/Modules/parameter.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/parameter.c')
-rw-r--r--Src/Modules/parameter.c2
1 files changed, 1 insertions, 1 deletions
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);
 	    }
 	}