mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
7ae7b018cc
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
12 lines
369 B
C
12 lines
369 B
C
--- src/p_string.c.orig 2016-06-20 14:41:27 UTC
|
|
+++ src/p_string.c
|
|
@@ -616,7 +616,7 @@ int loadlanguage(char *langf)
|
|
int msg;
|
|
pcontext;
|
|
clearlanguage();
|
|
- ap_snprintf(lfname,sizeof(lfname),"lang/%s.lng",langf);
|
|
+ ap_snprintf(lfname,sizeof(lfname),"%s/lang/%s.lng",PSYBASE, langf);
|
|
maxindex=0;
|
|
langname[0]=0;
|
|
lfile=fopen(lfname,"r");
|