diff --git a/source/blender/src/editfont.c b/source/blender/src/editfont.c index d22302d32a7..709a7e4233a 100644 --- a/source/blender/src/editfont.c +++ b/source/blender/src/editfont.c @@ -226,11 +226,12 @@ static int insert_into_textbuf(Curve *cu, char c) } } -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; cu= G.obedit->data;