Index: showtext.c =================================================================== RCS file: /cvsroot/rockbox/apps/showtext.c,v retrieving revision 1.2 diff -r1.2 showtext.c 35,36c35,36 < if(len>=10) { < if(len < 12 ) { --- > if(len >= LCD_COLS - 1) { > if(len < LCD_COLS) { 47c47 < else if(here +1 + len <= 11) { /* 1 is for space */ --- > else if(here +1 + len <= LCD_COLS) { /* 1 is for space */ Index: tree.c =================================================================== RCS file: /cvsroot/rockbox/apps/tree.c,v retrieving revision 1.115 diff -r1.115 tree.c 104,105c104,105 < #define TREE_MAX_ON_SCREEN 2 < #define TREE_MAX_LEN_DISPLAY 11 /* max length that fits on screen */ --- > #define TREE_MAX_ON_SCREEN LCD_ROWS > #define TREE_MAX_LEN_DISPLAY LCD_COLS /* max length that fits on screen */ Index: wps-display.c =================================================================== RCS file: /cvsroot/rockbox/apps/wps-display.c,v retrieving revision 1.16 diff -r1.16 wps-display.c 54c54 < #define MAX_LINES 2 --- > #define MAX_LINES LCD_ROWS