[Bf-blender-cvs] [0c0bdd83a4] blender2.8: Cleanup: Use const for array argument

Julian Eisel noreply at git.blender.org
Fri Feb 10 00:22:15 CET 2017


Commit: 0c0bdd83a4b54fc72ba959b2ecf364ac1db414ee
Author: Julian Eisel
Date:   Fri Feb 10 00:20:46 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB0c0bdd83a4b54fc72ba959b2ecf364ac1db414ee

Cleanup: Use const for array argument

===================================================================

M	source/blender/editors/space_file/file_draw.c

===================================================================

diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index 0c3de753a2..0606637282 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -291,7 +291,7 @@ static void file_draw_icon(uiBlock *block, const char *path, int sx, int sy, int
 
 
 static void file_draw_string(int sx, int sy, const char *string, float width, int height, short align,
-                             unsigned char col[4])
+                             const unsigned char col[4])
 {
 	uiStyle *style;
 	uiFontStyle fs;




More information about the Bf-blender-cvs mailing list