diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-12-31 14:54:33 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-12-31 14:54:33 +0300 |
commit | 69c57046e79f75a122b3c1da73820cb77536c333 (patch) | |
tree | 3260f598cf46aa9a11e6eb3c72e419de12a31580 /source | |
parent | b36298c60e27a196c3035c89420c776bcc49db68 (diff) |
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;
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/include/BIF_editfont.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |