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;
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user