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:
parent
167bcd82f5
commit
dfab785ba7
@ -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); \
|
||||
} \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user