diff options
-rw-r--r-- | firmware/common/unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/unicode.c b/firmware/common/unicode.c index 8988686b70..eb0af7092c 100644 --- a/firmware/common/unicode.c +++ b/firmware/common/unicode.c | |||
@@ -44,8 +44,8 @@ | |||
44 | #define O_NOISODECODE 0 | 44 | #define O_NOISODECODE 0 |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #define getle16(p) (p[0] | (p[1] >> 8)) | 47 | #define getle16(p) (p[0] | (p[1] << 8)) |
48 | #define getbe16(p) ((p[1] << 8) | p[0]) | 48 | #define getbe16(p) ((p[0] << 8) | p[1]) |
49 | 49 | ||
50 | #if !defined (__PCTOOL__) && (CONFIG_PLATFORM & PLATFORM_NATIVE) | 50 | #if !defined (__PCTOOL__) && (CONFIG_PLATFORM & PLATFORM_NATIVE) |
51 | /* Because file scanning uses the default CP table when matching entries, | 51 | /* Because file scanning uses the default CP table when matching entries, |