summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/grey_parm.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/grey_parm.c')
-rw-r--r--apps/plugins/lib/grey_parm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_parm.c b/apps/plugins/lib/grey_parm.c
index 90391d779b..00193e12f2 100644
--- a/apps/plugins/lib/grey_parm.c
+++ b/apps/plugins/lib/grey_parm.c
@@ -51,7 +51,7 @@ void grey_set_position(int x, int y)
51 if (_grey_info.flags & _GREY_RUNNING) 51 if (_grey_info.flags & _GREY_RUNNING)
52 { 52 {
53#ifdef SIMULATOR 53#ifdef SIMULATOR
54 _grey_info.rb->sim_lcd_ex_update_rect(_grey_info.x, _grey_info.y, 54 rb->sim_lcd_ex_update_rect(_grey_info.x, _grey_info.y,
55 _grey_info.width, 55 _grey_info.width,
56 _grey_info.height); 56 _grey_info.height);
57 grey_deferred_lcd_update(); 57 grey_deferred_lcd_update();
@@ -114,5 +114,5 @@ void grey_setfont(int newfont)
114/* Get width and height of a text when printed with the current font */ 114/* Get width and height of a text when printed with the current font */
115int grey_getstringsize(const unsigned char *str, int *w, int *h) 115int grey_getstringsize(const unsigned char *str, int *w, int *h)
116{ 116{
117 return _grey_info.rb->font_getstringsize(str, w, h, _grey_info.curfont); 117 return rb->font_getstringsize(str, w, h, _grey_info.curfont);
118} 118}