Changeset 9c9775f for menu/lxdialog


Ignore:
Timestamp:
09/19/2007 04:50:48 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
3778352
Parents:
0510381
Message:

Updated experimental branch to current trunk code.

Location:
menu/lxdialog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • menu/lxdialog/dialog.h

    r0510381 r9c9775f  
    2626#include <stdlib.h>
    2727#include <string.h>
     28
     29#ifdef LOCALE
     30#include <locale.h>
     31#endif
    2832
    2933#ifdef CURSES_LOC
  • menu/lxdialog/util.c

    r0510381 r9c9775f  
    145145init_dialog (void)
    146146{
     147#ifdef LOCALE
     148    setlocale(LC_CTYPE, "");    /* required by ncurses on linux UTF-8 console */
     149#endif
    147150    initscr ();                 /* Init curses */
    148151    keypad (stdscr, TRUE);
Note: See TracChangeset for help on using the changeset viewer.