~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to menu.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg, Adeodato Simó, Christoph Berg
  • Date: 2007-11-03 23:00:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071103230004-43e36pnhub87junc
Tags: 1.5.17-1
[ Adeodato Simó ]
* Move the packaging back to Bazaar, adjust X-VCS-* accordingly.

[ Christoph Berg ]
* Mention libsasl2-modules-gssapi-mit in README.Debian. (Closes: #433425)
* Call autoreconf at build time, drop the autotools-update patch.
* Update menu file, add lintian override file.
* Refresh patches.

* New upstream version:
  + fix segfaults with single byte 8-bit characters in index_format.
    (Closes: #420598, Mutt: #2882)
  + properly render subject headers with encoded linefeeds.
    (Closes: #264014, Mutt: #1810)
  + only calls gnutls_error_is_fatal when gnutls_record_recv returns a
    negative value. (Closes: #439775, Mutt: #2954)
  + Large file support for mutt_pretty_size().
    (Closes: #352478, #416555, Mutt: #2191)
  + Do not consider empty pipes for filtering in format strings.
    (Closes: #447340)

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
  int shift = option (OPTARROWCURSOR) ? 3 : 0;
161
161
  int cols = COLS - shift;
162
162
 
163
 
  mutt_format_string (s, n, cols, cols, 0, ' ', scratch, mutt_strlen (scratch), 1);
 
163
  mutt_format_string (s, n, cols, cols, FMT_LEFT, ' ', scratch, mutt_strlen (scratch), 1);
164
164
  s[n - 1] = 0;
165
165
  FREE (&scratch);
166
166
}
206
206
 
207
207
void menu_redraw_index (MUTTMENU *menu)
208
208
{
209
 
  char buf[STRING];
 
209
  char buf[LONG_STRING];
210
210
  int i;
211
211
 
212
212
  for (i = menu->top; i < menu->top + menu->pagelen; i++)
262
262
 
263
263
void menu_redraw_motion (MUTTMENU *menu)
264
264
{
265
 
  char buf[STRING];
 
265
  char buf[LONG_STRING];
266
266
 
267
267
  if (menu->dialog) 
268
268
  {
322
322
 
323
323
void menu_redraw_current (MUTTMENU *menu)
324
324
{
325
 
  char buf[STRING];
 
325
  char buf[LONG_STRING];
326
326
  
327
327
  move (menu->current + menu->offset - menu->top, 0);
328
328
  menu_make_entry (buf, sizeof (buf), menu, menu->current);