diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
commit | 5fb73d8b81fbd1823a6c807714d6b3589e918a3b (patch) | |
tree | 4fc89128e6684313da52ad76e4b43b4bb0c62950 /source/blender/editors/space_text/text_python.c | |
parent | eab11543f3c411940744ab2f447a5c222d5a50dd (diff) |
Make compiler happy, remove doubtful non init usage.
Diffstat (limited to 'source/blender/editors/space_text/text_python.c')
-rw-r--r-- | source/blender/editors/space_text/text_python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_python.c b/source/blender/editors/space_text/text_python.c index 4400747a731..92a64720210 100644 --- a/source/blender/editors/space_text/text_python.c +++ b/source/blender/editors/space_text/text_python.c @@ -50,7 +50,7 @@ int text_do_suggest_select(SpaceText *st, ARegion *ar) TextLine *tmp; int l, x, y, w, h, i; int tgti, *top; - short mval[2]; + short mval[2] = {0, 0}; if(!st || !st->text) return 0; if(!texttool_text_is_active(st->text)) return 0; |