1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11/props/files/patch-ab
James Raynard d01b5f5650 The xview "props" program. It allows users to interactively
customise workspace properties such as colours, icon placement, menus etc.
1998-01-04 22:31:26 +00:00

23 lines
644 B
Plaintext

--- l10n_read.c.orig Sat Nov 8 01:21:25 1997
+++ l10n_read.c Sun Nov 9 01:44:10 1997
@@ -18,7 +18,7 @@
#include "l10n_props.h"
-#define MAX_LINE_LENGTH 256
+#define MAX_LINE_LENGTH 2560
#define NAME_SEPARATOR '='
#define FIELD_SEPARATOR '|'
@@ -72,8 +72,9 @@
/*
* Find path for localization configuration files under
* $OPENWINHOME/share/locale/<locale>/props
+ * $OPENWINHOME/lib/X11/locale/<locale>/props
*/
- sprintf(fullpath, "%s/share/locale/%s/props/%s",
+ sprintf(fullpath, "%s/lib/X11/locale/%s/props/%s",
getenv("OPENWINHOME"), locale, file_name);
if ((config_file = fopen(fullpath, "r")) == NULL)