Always use wide characters.

This commit is contained in:
Felicity Tarnell 2014-03-08 00:30:40 +00:00
parent d239b1669b
commit 003ac6cca4
18 changed files with 546 additions and 588 deletions

6
tts.h
View file

@ -29,7 +29,7 @@ extern int delete_advance;
extern int mark_advance;
extern int bill_advance;
extern int bill_increment;
extern WCHAR *auto_nonbillable;
extern wchar_t *auto_nonbillable;
/*
* Global state.
@ -49,7 +49,7 @@ int save(void);
#define NHIST 50
typedef struct histent {
WCHAR *he_text;
wchar_t *he_text;
TTS_TAILQ_ENTRY(histent) he_entries;
} histent_t;
typedef TTS_TAILQ_HEAD(hentlist, histent) hentlist_t;
@ -60,7 +60,7 @@ typedef struct history {
} history_t;
history_t *hist_new(void);
void hist_add(history_t *, WCHAR const *);
void hist_add(history_t *, wchar_t const *);
extern history_t *searchhist;
extern history_t *prompthist;