UI: fsmenu_insert_entry Declaration Mismatch
authorHarley Acheson <harley.acheson@gmail.com>
Wed, 29 Jan 2020 18:20:30 +0000 (10:20 -0800)
committerHarley Acheson <harley.acheson@gmail.com>
Wed, 29 Jan 2020 18:20:30 +0000 (10:20 -0800)
Code cleanup. Fixes a mismatch between definition and declaration of fsmenu_insert_entry().

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

Reviewed by Julian Eisel

source/blender/editors/space_file/fsmenu.h

index a33783b19058803e33755b232bc2c6580d109047..17cfdf1c7f0a030d183ac2b3389bf33c45d5339d 100644 (file)
@@ -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 */