projects
/
ruby-evas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a90635
)
Fixed a segfault in Text#set_font.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 26 Nov 2004 21:39:08 +0000
(21:39 +0000)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 26 Nov 2004 21:39:08 +0000
(21:39 +0000)
src/rb_text.c
patch
|
blob
|
history
diff --git
a/src/rb_text.c
b/src/rb_text.c
index 076fd9ea727b21f01a55f4d39dbed45b77878af0..431e8edfbb848107e8067b4595cf2b1804c810a5 100644
(file)
--- a/
src/rb_text.c
+++ b/
src/rb_text.c
@@
-1,5
+1,5
@@
/*
- * $Id: rb_text.c
58 2004-08-10 14:10:02
Z tilman $
+ * $Id: rb_text.c
143 2004-11-26 21:39:08
Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
@@
-125,7
+125,7
@@
static VALUE c_set_font (VALUE self, VALUE font, VALUE size)
GET_OBJ (self, RbEvasObject, e);
Check_Type (font, T_STRING);
- Check_Type (
font
, T_FIXNUM);
+ Check_Type (
size
, T_FIXNUM);
evas_object_text_font_set (e->real, StringValuePtr (font),
FIX2INT (size));