removed comment and newlines
This commit is contained in:
parent
fdf8e348df
commit
bdfefedfef
@ -323,7 +323,7 @@ bool menuEntryLoad(menuEntry_s* me, const char* name, bool shortcut) {
|
||||
|
||||
void menuEntryParseIcon(menuEntry_s* me) {
|
||||
size_t imagesize = 256*256*3;
|
||||
unsigned char *imageptr = (unsigned char*)malloc(imagesize);//imageptr cannot be null
|
||||
unsigned char *imageptr = (unsigned char*)malloc(imagesize);
|
||||
|
||||
if (imageptr == NULL) return;
|
||||
|
||||
@ -345,8 +345,6 @@ void menuEntryParseIcon(menuEntry_s* me) {
|
||||
free(me->icon);
|
||||
me->icon = NULL;
|
||||
|
||||
|
||||
|
||||
me->icon_gfx = (uint8_t*)malloc(imagesize);
|
||||
|
||||
if (me->icon_gfx == NULL) return;
|
||||
|
Loading…
Reference in New Issue
Block a user