icon (9.4.3-2) src/iconc/ctrans.c

Summary

 src/iconc/ctrans.c |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

--- icon-9.4.3.orig/src/iconc/ctrans.c
+++ icon-9.4.3/src/iconc/ctrans.c
@@ -37,6 +37,8 @@
    struct srcfile *sf;
 
    lpath = getenv("LPATH");	/* remains null if unspecified */
+   if (!lpath)
+       lpath = "/usr/lib/icon-ipl";
 
    for (sf = srclst; sf != NULL; sf = sf->next)
       trans1(sf->name);	/* translate each file in turn */