]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* term/gfxterm.c (repaint_schedulded): Rename to ...
authorColin Watson <cjwatson@ubuntu.com>
Tue, 6 Jul 2010 17:31:45 +0000 (18:31 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 6 Jul 2010 17:31:45 +0000 (18:31 +0100)
(repaint_scheduled): ... this.  Update all callers.
(repaint_was_schedulded): Rename to ...
(repaint_was_scheduled): ... this.  Update all callers.

ChangeLog
term/gfxterm.c

index a37ac98f1e20af6e1e584c291f039abd61af5143..9d2210b30be48a51ca67371c245ff3b695e06370 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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,
index a1886f7e8d94719a1bd0f05bef3f9c5ef3d49e85..44f6b191a2d2c652e04273e2cce01a14b73340ba 100644 (file)
@@ -118,8 +118,8 @@ void (*grub_gfxterm_decorator_hook) (void) = NULL;
 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);
 
@@ -278,7 +278,7 @@ grub_virtual_screen_setup (unsigned int x, unsigned int y,
 void
 grub_gfxterm_schedule_repaint (void)
 {
-  repaint_schedulded = 1;
+  repaint_scheduled = 1;
 }
 
 grub_err_t
@@ -510,7 +510,7 @@ dirty_region_reset (void)
   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
@@ -530,14 +530,14 @@ dirty_region_add (int x, int y, unsigned int width, unsigned int height)
   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 ())
@@ -586,7 +586,7 @@ dirty_region_redraw (void)
   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);