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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs