[Bf-blender-cvs] [35c6d68d356] master: UI: fsmenu_insert_entry Declaration Mismatch

Harley Acheson noreply at git.blender.org
Wed Jan 29 19:21:24 CET 2020


Commit: 35c6d68d35699fe088537074ebaa5034c8e6321e
Author: Harley Acheson
Date:   Wed Jan 29 10:20:30 2020 -0800
Branches: master
https://developer.blender.org/rB35c6d68d35699fe088537074ebaa5034c8e6321e

UI: fsmenu_insert_entry Declaration Mismatch

Code cleanup. Fixes a mismatch between definition and declaration of fsmenu_insert_entry().

Differential Revision: https://developer.blender.org/D6712

Reviewed by Julian Eisel

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

M	source/blender/editors/space_file/fsmenu.h

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

diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h
index a33783b1905..17cfdf1c7f0 100644
--- a/source/blender/editors/space_file/fsmenu.h
+++ b/source/blender/editors/space_file/fsmenu.h
@@ -42,7 +42,7 @@ void fsmenu_insert_entry(struct FSMenu *fsmenu,
                          enum FSMenuCategory category,
                          const char *path,
                          const char *name,
-                         const int icon,
+                         int icon,
                          const enum FSMenuInsert flag);
 
 /** Refresh 'valid' status of given menu entry */



More information about the Bf-blender-cvs mailing list