diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-01-06 11:17:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-01-06 11:17:44 +0000 |
commit | aa0e1789d74449b9c8f53a3a2e44d2bef6882f6f (patch) | |
tree | 37f97d0db184eb168c43a346f6bfe3997473642b /Build/source/texk/ptexenc | |
parent | 0f70763c9e3bd932f2302ea9cf5a02abb717ae14 (diff) |
kpathsea [WIN32]: Bug fix (knj.c): Preserve non-utf8 command line
git-svn-id: svn://tug.org/texlive/trunk@32590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ptexenc')
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc/unicode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/ptexenc/ptexenc/unicode.h b/Build/source/texk/ptexenc/ptexenc/unicode.h index c5f2826966d..9e4c91ff3fb 100644 --- a/Build/source/texk/ptexenc/ptexenc/unicode.h +++ b/Build/source/texk/ptexenc/ptexenc/unicode.h @@ -52,6 +52,6 @@ extern long UPTEXtoUCS(long uptex); #define UTF32toUTF16LS(x) (0xdc00 + ( (x) & 0x3ff)) /* UTF-16 surrogate pair -> UTF-32 over U+FFFF */ -#define UTF16StoUTF32(x,y) ((((x) & 0x3ff) << 10) + ((y) & 0x3ff) +0x10000) +#define UTF16StoUTF32(x,y) ((((x) & 0x3ff) << 10) + ((y) & 0x3ff) + 0x10000) #endif /* PTEXENC_UNICODE_H */ |