projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
759712a
)
Fixed inappropriate variable decl.
author
Bill Kendrick
<nbs@sonic.net>
Sun, 15 Feb 2004 10:23:16 +0000
(10:23 +0000)
committer
Bill Kendrick
<nbs@sonic.net>
Sun, 15 Feb 2004 10:23:16 +0000
(10:23 +0000)
SVN-Revision: 121
src/text.c
patch
|
blob
|
history
diff --git
a/src/text.c
b/src/text.c
index
6a31ed7
..
0e2b845
100644
(file)
--- a/
src/text.c
+++ b/
src/text.c
@@
-34,12
+34,14
@@
void text_load(text_type* ptext, char* file)
void text_draw(text_type* ptext, char* text, int x, int y, int shadowsize, int update)
{
+ int len;
+ int i;
if(shadowsize != 0)
text_draw(&black_text,text,x+shadowsize,y+shadowsize, 0, update);
-
int
len = strlen(text);
- int i;
+ len = strlen(text);
+
for( i = 0; i < len; ++i)
{
if( text[i] >= 'A' && text[i] <= 'Z')