Hello, After a some debugging, I found that the solution was one change away. The still variable remained unused and I put it where it was needed. Patch included:
--- mc-4.6.1-old/src/screen.c 2007-03-18 03:00:48.000000000 +0200 +++ mc-4.6.1/src/screen.c 2007-03-18 02:58:32.000000000 +0200 @@ -658,7 +658,7 @@ format_file (WPanel *panel, int file_ind 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); Best regards, Igor Stirbu -- :wq
--- mc-4.6.1-old/src/screen.c 2007-03-18 03:00:48.000000000 +0200 +++ mc-4.6.1/src/screen.c 2007-03-18 02:58:32.000000000 +0200 @@ -658,7 +658,7 @@ format_file (WPanel *panel, int file_ind 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);