diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-02 20:04:52 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-02 20:04:52 +0100 |
| commit | 3df564da98071d088879b6c15e0b02e0e7952668 (patch) | |
| tree | ea78e4cbbf3a0f42a97dadf8ad58c796cf734d8f /emu/Nt/win.c | |
| parent | 779758698838199ce6b9ebd308692cd5375b02d7 (diff) | |
Rune16 conversion routines because Rune is 32 bits
Diffstat (limited to 'emu/Nt/win.c')
| -rw-r--r-- | emu/Nt/win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emu/Nt/win.c b/emu/Nt/win.c index 93c79c25..4eb56f45 100644 --- a/emu/Nt/win.c +++ b/emu/Nt/win.c @@ -35,7 +35,7 @@ extern ulong displaychan; -extern char* runestoutf(char*, Rune*, int); +extern char* runes16toutf(char*, Rune*, int); extern int bytesperline(Rectangle, int); extern int main(int argc, char **argv); static void dprint(char*, ...); @@ -706,7 +706,7 @@ clipreadunicode(HANDLE h) n = runenlen(p, runestrlen(p)+1); q = malloc(n); if(q != nil) - runestoutf(q, p, n); + runes16toutf(q, p, n); GlobalUnlock(h); if(q == nil) |
