mirror of
https://git.zap.org.au/git/trader.git
synced 2025-02-02 15:08:13 -05: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…
x
Reference in New Issue
Block a user