LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File _service:download_src_package:mc-utf8-nlink.patch of Package mc (Project home:eo4iwc:openSUSE11.3)

--- src/screen.c
+++ src/screen.c
@@ -671,7 +671,7 @@
 			SLsmg_write_nwchars (((wchar_t *) buffer)
 					     + txtlen - n2, n2);
 		    } else
-			SLsmg_write_nwchars ((wchar_t *) buffer, len);
+			SLsmg_write_nwchars ((wchar_t *) buffer + still, len);
 		} else {
 		    printw ("%*s", still, "");
 		    SLsmg_write_nwchars ((wchar_t *) buffer, txtlen);