+2010-07-06 Colin Watson <cjwatson@ubuntu.com>
+
+ * term/gfxterm.c (repaint_schedulded): Rename to ...
+ (repaint_scheduled): ... this. Update all callers.
+ (repaint_was_schedulded): Rename to ...
+ (repaint_was_scheduled): ... this. Update all callers.
+
2010-07-06 Colin Watson <cjwatson@ubuntu.com>
* util/deviceiter.c (grub_util_iterate_devices): Skip MD devices,
static struct grub_gfxterm_window window;
static struct grub_virtual_screen virtual_screen;
static grub_gfxterm_repaint_callback_t repaint_callback;
-static int repaint_schedulded = 0;
-static int repaint_was_schedulded = 0;
+static int repaint_scheduled = 0;
+static int repaint_was_scheduled = 0;
static void destroy_window (void);
void
grub_gfxterm_schedule_repaint (void)
{
- repaint_schedulded = 1;
+ repaint_scheduled = 1;
}
grub_err_t
dirty_region.top_left_y = -1;
dirty_region.bottom_right_x = -1;
dirty_region.bottom_right_y = -1;
- repaint_was_schedulded = 0;
+ repaint_was_scheduled = 0;
}
static int
if ((width == 0) || (height == 0))
return;
- if (repaint_schedulded)
+ if (repaint_scheduled)
{
x = virtual_screen.offset_x;
y = virtual_screen.offset_y;
width = virtual_screen.width;
height = virtual_screen.height;
- repaint_schedulded = 0;
- repaint_was_schedulded = 1;
+ repaint_scheduled = 0;
+ repaint_was_scheduled = 1;
}
if (dirty_region_is_empty ())
width = dirty_region.bottom_right_x - x + 1;
height = dirty_region.bottom_right_y - y + 1;
- if (repaint_was_schedulded && grub_gfxterm_decorator_hook)
+ if (repaint_was_scheduled && grub_gfxterm_decorator_hook)
grub_gfxterm_decorator_hook ();
redraw_screen_rect (x, y, width, height);