openbsd-ports/games/abuse/patches/patch-input_c
2004-01-14 17:18:12 +00:00

16 lines
586 B
Plaintext

$OpenBSD: patch-input_c,v 1.2 2004/01/14 17:18:12 naddy Exp $
Match patch-input_hpp
--- imlib/input.c.orig 1996-04-12 02:06:11.000000000 +0200
+++ imlib/input.c 2004-01-14 18:14:33.000000000 +0100
@@ -318,7 +318,7 @@ void text_field::area(int &x1, int &y1,
}
text_field::text_field(int X, int Y, int ID, char *Prompt, char *Format,
- char *Data, ifield *Next)
+ const char *Data, ifield *Next)
{
int slen=(strlen(Format)>strlen(Data) ? strlen(Format) : strlen(Data));