Ignore:
Timestamp:
Apr 21, 2011, 11:57:44 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • text's are properly centered in open_and_list_dir (Patch from Chucky). Fix #404.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2713 r2766  
    14211421#ifndef _XWIN
    14221422                if (!g_text_mode) {
    1423                     mr_asprintf(&tmp, "Reading %-68s", dir1);
     1423                    int cols, rows;
     1424                    newtGetScreenSize(&cols, &rows);
     1425                    mr_asprintf(&tmp, "Reading %-*s", cols, dir1);
    14241426                    newtDrawRootText(0, g_noof_rows - 3, tmp);
    1425                     paranoid_free(tmp);
     1427                    mr_free(tmp);
    14261428                }
    14271429#endif
Note: See TracChangeset for help on using the changeset viewer.