summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-10 13:30:08 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-10 13:30:08 +0000
commitfebc62388ec6552e07220f3471b06e8c3ae2766f (patch)
tree3759283c1d2c93a64631bd0d754da6eb6d1044ce
parent4a197ec29a660ce66cb92a281cbd339e43bd77e1 (diff)
downloadrockbox-febc62388ec6552e07220f3471b06e8c3ae2766f.tar.gz
rockbox-febc62388ec6552e07220f3471b06e8c3ae2766f.zip
Fixed spelling misstakes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3065 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-player.c8
-rw-r--r--firmware/drivers/lcd.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-player.c b/firmware/drivers/lcd-player.c
index 3917692df9..721310fbcd 100644
--- a/firmware/drivers/lcd-player.c
+++ b/firmware/drivers/lcd-player.c
@@ -78,7 +78,7 @@ static char scroll_name[] = "scroll";
78static char scroll_speed = 8; /* updates per second */ 78static char scroll_speed = 8; /* updates per second */
79static int scroll_delay = HZ/2; /* delay before starting scroll */ 79static int scroll_delay = HZ/2; /* delay before starting scroll */
80static char scroll_spacing = 3; /* spaces between end and start of text */ 80static char scroll_spacing = 3; /* spaces between end and start of text */
81static bool allow_bidirectictional_scrolling = true; 81static bool allow_bidirectional_scrolling = true;
82 82
83static struct scrollinfo scroll[SCROLLABLE_LINES]; 83static struct scrollinfo scroll[SCROLLABLE_LINES];
84 84
@@ -463,7 +463,7 @@ void lcd_puts_scroll(int x, int y, unsigned char* string )
463 s->direction=+1; 463 s->direction=+1;
464 strncpy(s->text,string,sizeof s->text); 464 strncpy(s->text,string,sizeof s->text);
465 s->turn_offset=-1; 465 s->turn_offset=-1;
466 if (allow_bidirectictional_scrolling) { 466 if (allow_bidirectional_scrolling) {
467 if ( s->textlen + x > 11+4) 467 if ( s->textlen + x > 11+4)
468 s->turn_offset=s->textlen-x-11+4; 468 s->turn_offset=s->textlen-x-11+4;
469 } 469 }
@@ -557,9 +557,9 @@ void lcd_scroll_resume_line(int line)
557 } 557 }
558} 558}
559 559
560void lcd_allow_bidirectictional_scrolling(bool on) 560void lcd_allow_bidirectional_scrolling(bool on)
561{ 561{
562 allow_bidirectictional_scrolling=on; 562 allow_bidirectional_scrolling=on;
563} 563}
564 564
565void lcd_scroll_speed(int speed) 565void lcd_scroll_speed(int speed)
diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h
index 1a5cd0851c..8c57aa9f05 100644
--- a/firmware/drivers/lcd.h
+++ b/firmware/drivers/lcd.h
@@ -87,7 +87,7 @@ extern void lcd_define_pattern (int which,char *pattern);
87extern void lcd_double_height (bool on); 87extern void lcd_double_height (bool on);
88unsigned char lcd_get_locked_pattern(void); 88unsigned char lcd_get_locked_pattern(void);
89void lcd_unlock_pattern(unsigned char pat); 89void lcd_unlock_pattern(unsigned char pat);
90void lcd_allow_bidirectictional_scrolling(bool on); 90void lcd_allow_bidirectional_scrolling(bool on);
91 91
92#endif 92#endif
93 93