diff options
author | Jiri Hnidek <jiri.hnidek@tul.cz> | 2003-10-25 16:27:16 +0400 |
---|---|---|
committer | Jiri Hnidek <jiri.hnidek@tul.cz> | 2003-10-25 16:27:16 +0400 |
commit | 558711325fe909e4d7759432f99956592db25477 (patch) | |
tree | ba70593cb16a921334b93c9748af2e44a879a7a8 /source/blender/src | |
parent | 3545113051671615aa8190ec59ece03655a20f59 (diff) |
- removes warnings
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/drawtext.c | 1 | ||||
-rw-r--r-- | source/blender/src/header_text.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index 5f04e9bb3a7..63006bef32e 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -944,7 +944,6 @@ void winqreadtextspace(ScrArea *sa, void *spacedata, BWinEvent *evt) char ascii= evt->ascii; SpaceText *st= curarea->spacedata.first; Text *text= st->text; - char *py_filename; int do_draw=0, p; if (BPY_spacetext_is_pywin(st)) { diff --git a/source/blender/src/header_text.c b/source/blender/src/header_text.c index 40d15ae089a..1467cc3694e 100644 --- a/source/blender/src/header_text.c +++ b/source/blender/src/header_text.c @@ -64,6 +64,7 @@ #include "BIF_resources.h" #include "BIF_screen.h" #include "BIF_space.h" +#include "BIF_toolbox.h" #include "BKE_global.h" #include "BKE_library.h" #include "BKE_main.h" @@ -373,8 +374,6 @@ static uiBlock *text_editmenu_selectmenu(void *arg_unused) /* Edit menu */ static uiBlock *text_editmenu(void *arg_unused) { - SpaceText *st= curarea->spacedata.first; - Text *text= st->text; uiBlock *block; short yco= 0, menuwidth=120; |