From 69c57046e79f75a122b3c1da73820cb77536c333 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Tue, 31 Dec 2002 11:54:33 +0000 Subject: [PATCH] Sorry about that this is part of the last update. I ment to cancel it and include both files. Anyway I was fixing the warning with ascii char... Here is the diff for editfont.c (the .h was just fixing the header to match it) Kent Index: editfont.c =================================================================== RCS file: /cvs01/blender/source/blender/src/editfont.c,v retrieving revision 1.3 diff -u -r1.3 editfont.c --- editfont.c 25 Nov 2002 12:02:05 -0000 1.3 +++ editfont.c 31 Dec 2002 11:52:10 -0000 @@ -226,11 +226,12 @@ } } -void do_textedit(unsigned short event, short val, char ascii) +void do_textedit(unsigned short event, short val, unsigned char _ascii) { Curve *cu; static int accentcode= 0; int x, doit=0, cursmove=0; + int ascii = _ascii; --- source/blender/include/BIF_editfont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/include/BIF_editfont.h b/source/blender/include/BIF_editfont.h index d45ca41cd8c..f2099a77ae0 100644 --- a/source/blender/include/BIF_editfont.h +++ b/source/blender/include/BIF_editfont.h @@ -33,7 +33,7 @@ #ifndef BIF_EDITFONT_H #define BIF_EDITFONT_H -void do_textedit(unsigned short event, short val, char ascii); +void do_textedit(unsigned short event, short val, unsigned char _ascii); void make_editText(void); void load_editText(void); void remake_editText(void);