diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-26 09:46:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-26 09:46:42 +0400 |
commit | a4d9c8f579a4ba2b66f2f5b8b7bbd6be9c1d4cda (patch) | |
tree | 7025cc2659b74b550743f67d9b4d11521f6a8978 /source/blender/editors/interface/interface_style.c | |
parent | e3e56971ebe494ac499675f00bd891f2d9cadaa3 (diff) |
Code cleanup: casts, dead assignment & arg order.
Diffstat (limited to 'source/blender/editors/interface/interface_style.c')
-rw-r--r-- | source/blender/editors/interface/interface_style.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index e04f13bd458..c27789c0fc9 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -330,7 +330,7 @@ void UI_DrawString(float x, float y, const char *str) /* reading without uifont will create one */ void uiStyleInit(void) { - uiFont *font = U.uifonts.first; + uiFont *font; uiStyle *style = U.uistyles.first; int monofont_size = datatoc_bmonofont_ttf_size; unsigned char *monofont_ttf = (unsigned char *)datatoc_bmonofont_ttf; |