[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38252] branches/soc-2011-onion/source/ blender/editors/space_file/file_draw.c: warning fix, float to int conversion
Jason Wilkins
Jason.A.Wilkins at gmail.com
Sat Jul 9 11:10:34 CEST 2011
Revision: 38252
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38252
Author: jwilkins
Date: 2011-07-09 09:10:33 +0000 (Sat, 09 Jul 2011)
Log Message:
-----------
warning fix, float to int conversion
Modified Paths:
--------------
branches/soc-2011-onion/source/blender/editors/space_file/file_draw.c
Modified: branches/soc-2011-onion/source/blender/editors/space_file/file_draw.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/space_file/file_draw.c 2011-07-09 09:04:32 UTC (rev 38251)
+++ branches/soc-2011-onion/source/blender/editors/space_file/file_draw.c 2011-07-09 09:10:33 UTC (rev 38252)
@@ -519,8 +519,8 @@
file_draw_preview(block, file, sx, sy, imb, layout, !is_icon && (file->flags & IMAGEFILE));
} else {
- file_draw_icon(block, file->path, sx, sy-(UI_UNIT_Y / 6), get_file_icon(file), ICON_DEFAULT_WIDTH_SCALE, ICON_DEFAULT_WIDTH_SCALE);
- sx += ICON_DEFAULT_WIDTH_SCALE + 4;
+ file_draw_icon(block, file->path, sx, sy-(UI_UNIT_Y / 6), get_file_icon(file), (int)ICON_DEFAULT_WIDTH_SCALE, (int)ICON_DEFAULT_WIDTH_SCALE);
+ sx += (int)ICON_DEFAULT_WIDTH_SCALE + 4;
}
UI_ThemeColor4(TH_TEXT);
More information about the Bf-blender-cvs
mailing list