1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-01 17:14:15 -04:00

Add a couple more places where the character constant is a wide char

This commit is contained in:
John Zaitseff 2011-08-25 21:55:10 +10:00
parent 167bcd82f5
commit dfab785ba7
2 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ typedef struct txwin {
do { \
char *s = gettext(_default); \
if (xmbstowcs(buf, s, BUFSIZE) < (_checkpos) + 1 \
|| buf[_checkpos] != '|') { \
|| buf[_checkpos] != L'|') { \
err_exit(_("%s: string has incorrect format: `%s'"), \
__stringify(_var), s); \
} \

View File

@ -102,8 +102,8 @@ typedef enum curs_type {
#define KEY_CTRL(x) ((x) - 0100) // ASCII control character
// Keycodes for inserting the default value in input routines
#define CHAR_DEFVAL1 '='
#define CHAR_DEFVAL2 ';'
#define CHAR_DEFVAL1 L'='
#define CHAR_DEFVAL2 L';'
// Control-arrow key combinations, as returned by Ncurses
#ifndef KEY_CDOWN