summary refs log tree commit diff
path: root/Src/Modules/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/termcap.c')
-rw-r--r--Src/Modules/termcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Modules/termcap.c b/Src/Modules/termcap.c
index fbaf887c1..1b4107248 100644
--- a/Src/Modules/termcap.c
+++ b/Src/Modules/termcap.c
@@ -208,6 +208,8 @@ gettermcap(HashTable ht, char *name)
     pm->flags = PM_READONLY;
     pm->sets.cfn = NULL;
     pm->gets.cfn = strgetfn;
+    pm->sets.ifn = NULL;
+    pm->gets.ifn = intgetfn;
     pm->unsetfn = NULL;
     pm->ct = 0;
     pm->env = NULL;
@@ -305,6 +307,8 @@ scantermcap(HashTable ht, ScanFunc func, int flags)
     pm = (Param) zhalloc(sizeof(struct param));
     pm->sets.cfn = NULL;
     pm->gets.cfn = strgetfn;
+    pm->sets.ifn = NULL;
+    pm->gets.ifn = intgetfn;
     pm->unsetfn = NULL;
     pm->ct = 0;
     pm->env = NULL;