Revert r19199.
Modified:
branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/ui/tui.c
_____
Modified:
branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/ui/tui.c
--- branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/ui/tui.c
2005-11-13 08:19:54 UTC (rev 19200)
+++ branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/ui/tui.c
2005-11-13 08:21:41 UTC (rev 19201)
@@ -142,18 +142,19 @@
ULONG i, j;
// Clip the area to the screen
- if ((Left >= UiScreenWidth) || (Top >= UiScreenHeight))
+ // FIXME: This code seems to have problems... Uncomment and view
;-)
+ /*if ((Left >= UiScreenWidth) || (Top >= UiScreenHeight))
{
return;
}
- if (Right >= UiScreenWidth)
+ if ((Left + Right) >= UiScreenWidth)
{
- Right = UiScreenWidth - 1;
+ Right = UiScreenWidth - Left;
}
- if (Bottom >= UiScreenHeight)
+ if ((Top + Bottom) >= UiScreenHeight)
{
- Bottom = UiScreenHeight - 1;
- }
+ Bottom = UiScreenHeight - Top;
+ }*/
// Loop through each line and fill it in
for (i=Top; i<=Bottom; i++)
Show replies by date