brbak <mpd000@yahoo.de>:
fixes repositioning of text (from bug 749)
Modified: trunk/reactos/lib/user32/controls/edit.c

Modified: trunk/reactos/lib/user32/controls/edit.c
--- trunk/reactos/lib/user32/controls/edit.c	2005-09-21 22:16:17 UTC (rev 17975)
+++ trunk/reactos/lib/user32/controls/edit.c	2005-09-21 22:48:52 UTC (rev 17976)
@@ -2919,7 +2919,7 @@
 		dx = es->text_width - x_offset_in_pixels;
 	nyoff = max(0, es->y_offset + dy);
 	if (nyoff >= es->line_count - lines_per_page)
-		nyoff = es->line_count - lines_per_page;
+		nyoff = max(0,es->line_count - lines_per_page);
 	dy = (es->y_offset - nyoff) * es->line_height;
 	if (dx || dy) {
 		RECT rc1;