diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-04 17:18:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-04 17:18:41 +0400 |
commit | afdd54fa3720c267f30e48ed45c449d80449bac0 (patch) | |
tree | 3192044fa53f6e1fd3d1b0256963c2d4c090d700 /source/blender/src/drawoops.c | |
parent | 203e6ed82b444786d7999e88cebef84d6d429765 (diff) |
moved source and text to american spelling
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
Diffstat (limited to 'source/blender/src/drawoops.c')
-rw-r--r-- | source/blender/src/drawoops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index 01095798444..70634a4964b 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -308,7 +308,7 @@ void calc_oopstext(char *str, float *v1) flen= BMF_GetStringWidth(font, str); - /* calc centred location for icon and text, + /* calc centerd location for icon and text, else if were zoomed too far out, just push text to the left of the oops block. */ if (oopscalex>1.1) { mval[0]= (f1+f2-flen+1)/2; @@ -454,7 +454,7 @@ void drawoopsspace(ScrArea *sa, void *spacedata) /* Draw a page about the oops */ BIF_GetThemeColor3fv(TH_BACK, col); glColor3fv(col); - glRectf(G.v2d->tot.xmin-2, G.v2d->tot.ymin-2, G.v2d->tot.xmax+2, G.v2d->tot.ymax+2); /* light square in the centre */ + glRectf(G.v2d->tot.xmin-2, G.v2d->tot.ymin-2, G.v2d->tot.xmax+2, G.v2d->tot.ymax+2); /* light square in the center */ BIF_ThemeColorShade(TH_BACK, -96); /* drop shadow color */ glRectf(G.v2d->tot.xmin-1, G.v2d->tot.ymin-2, G.v2d->tot.xmax+3, G.v2d->tot.ymin-3); /* bottom dropshadow */ glRectf(G.v2d->tot.xmax+2, G.v2d->tot.ymin-2, G.v2d->tot.xmax+3, G.v2d->tot.ymax+1); /* right hand dropshadow */ |