summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 42ae2b8890..26df94b5a7 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -252,7 +252,7 @@ void menu_insert(int menu, int position, char *desc, bool (*function) (void))
252 menus[menu].items[i] = menus[menu].items[i - 1]; 252 menus[menu].items[i] = menus[menu].items[i - 1];
253 253
254 /* Update the current item */ 254 /* Update the current item */
255 menus[menu].items[position].desc = desc; 255 menus[menu].items[position].desc = (unsigned char *)desc;
256 menus[menu].items[position].function = function; 256 menus[menu].items[position].function = function;
257 gui_synclist_add_item(&(menus[menu].synclist)); 257 gui_synclist_add_item(&(menus[menu].synclist));
258} 258}
@@ -347,7 +347,7 @@ void put_cursorxy(int x, int y, bool on)
347 if (global_settings.invert_cursor) 347 if (global_settings.invert_cursor)
348 return; 348 return;
349 349
350 lcd_getstringsize("A", &fw, &fh); 350 lcd_getstringsize((unsigned char *)"A", &fw, &fh);
351 xpos = x*6; 351 xpos = x*6;
352 ypos = y*fh + lcd_getymargin(); 352 ypos = y*fh + lcd_getymargin();
353 if ( fh > 8 ) 353 if ( fh > 8 )