~ubuntu-branches/ubuntu/feisty/elinks/feisty-updates

« back to all changes in this revision

Viewing changes to src/bfu/msgbox.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-30 08:57:43 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630085743-l81fgbw9dehvl1ds
Tags: 0.11.1-1ubuntu1
* Merge to Debian unstable.
* Removed gnutls12 porting, this is upstream now.
* Only Ubuntu changes left:
  - Killed type-handling.
  - Add X-Ubuntu-Gettext-Domain to .desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Prefabricated message box implementation. */
2
 
/* $Id: msgbox.c,v 1.95.4.3 2005/04/06 09:11:18 jonas Exp $ */
3
2
 
4
3
#ifdef HAVE_CONFIG_H
5
4
#include "config.h"
68
67
 
69
68
        while (dlg->number_of_widgets < buttons + 1) {
70
69
                unsigned char *label;
71
 
                t_done_handler *done;
 
70
                done_handler_T *done;
72
71
                int bflags;
73
72
 
74
73
                label = va_arg(ap, unsigned char *);
94
93
        return do_dialog(term, dlg, ml);
95
94
}
96
95
 
97
 
/* Do not inline this function, because with inline
98
 
 * elinks segfaults on Cygwin */
99
 
static unsigned char *
 
96
static inline unsigned char *
100
97
msg_text_do(unsigned char *format, va_list ap)
101
98
{
102
99
        unsigned char *info;