openbsd-ports/editors/ee/patches/patch-ee_c
pvalchev 8e99944cff solve more signed vs unsigned char issues by using correct types, some of
it was just a matter of making functions match their prototypes.....
ok maintainer Jose Nazario
2002-12-13 07:52:10 +00:00

31 lines
743 B
Plaintext

$OpenBSD: patch-ee_c,v 1.2 2002/12/13 07:52:10 pvalchev Exp $
--- ee.c.orig Fri Aug 17 17:14:49 2001
+++ ee.c Thu Dec 12 00:22:09 2002
@@ -929,7 +929,7 @@ int temp_int;
int
out_char(window, character, column) /* output non-printing character */
WINDOW *window;
-char character;
+int character;
int column;
{
int i1, i2;
@@ -977,7 +977,7 @@ int column;
int
len_char(character, column) /* return the length of the character */
-char character;
+int character;
int column; /* the column must be known to provide spacing for tabs */
{
int length;
@@ -4069,7 +4069,7 @@ Format() /* format the paragraph accordi
}
unsigned char *init_name[3] = {
- "/usr/local/lib/init.ee",
+ SYSCONFDIR "/init.ee",
NULL,
".init.ee"
};