summaryrefslogtreecommitdiff
path: root/apps/plugins/maze.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/maze.c')
-rw-r--r--apps/plugins/maze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/maze.c b/apps/plugins/maze.c
index e407caeb82..2fbdd60480 100644
--- a/apps/plugins/maze.c
+++ b/apps/plugins/maze.c
@@ -176,8 +176,8 @@ void maze_draw(struct maze* maze, struct screen* display)
176 int point_width, point_height, point_offset_x, point_offset_y; 176 int point_width, point_height, point_offset_x, point_offset_y;
177 unsigned short cell; 177 unsigned short cell;
178 178
179 wx = (int) display->width / MAZE_WIDTH; 179 wx = (int) display->getwidth() / MAZE_WIDTH;
180 wy = (int) display->height / MAZE_HEIGHT; 180 wy = (int) display->getheight() / MAZE_HEIGHT;
181 181
182 if(wx>3){ 182 if(wx>3){
183 point_width=wx-3; 183 point_width=wx-3;