~ubuntu-branches/ubuntu/maverick/w3m/maverick-updates

« back to all changes in this revision

Viewing changes to menu.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-10-30 10:36:18 UTC
  • Revision ID: james.westby@ubuntu.com-20061030103618-8x3n59scvgdxw1cg
Tags: 0.5.1-5ubuntu1
* Synchronize with Debian unstable.
* Remaining Ubuntu change: Change libgdk-pixbuf build dependency to
  libimlib2-dev to keep Gnome 1 stuff out of main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: menu.c,v 1.41 2004/03/23 16:44:02 ukai Exp $ */
 
1
/* $Id: menu.c,v 1.45 2006/04/07 13:21:12 inu Exp $ */
2
2
/* 
3
3
 * w3m menu.c
4
4
 */
1183
1183
    int btn, x, y;
1184
1184
 
1185
1185
    btn = (unsigned char)getch() - 32;
1186
 
#if defined(__CYGWIN__)
 
1186
#if defined(__CYGWIN__) && CYGWIN_VERSION_DLL_MAJOR < 1005
1187
1187
    if (cygwin_mouse_btn_swapped) {
1188
1188
        if (btn == MOUSE_BTN2_DOWN)
1189
1189
            btn = MOUSE_BTN3_DOWN;
1717
1717
#endif
1718
1718
        for (item = MainMenuItem; item->type != MENU_END; item++)
1719
1719
            item->label =
1720
 
                wc_conv(gettext(item->label), MainMenuCharset,
 
1720
                wc_conv(_(item->label), MainMenuCharset,
1721
1721
                        InnerCharset)->ptr;
1722
1722
        MainMenuEncode = TRUE;
1723
1723
    }