mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0812: Unicode 16 feature is not useful
Problem: Unicode 16 feature is not useful and cannot be detected. Solution: Remove UNICODE16.
This commit is contained in:
10
src/vim.h
10
src/vim.h
@@ -431,15 +431,9 @@ typedef unsigned short sattr_T;
|
||||
|
||||
/*
|
||||
* The u8char_T can hold one decoded UTF-8 character.
|
||||
* We normally use 32 bits now, since some Asian characters don't fit in 16
|
||||
* bits. u8char_T is only used for displaying, it could be 16 bits to save
|
||||
* memory.
|
||||
* We use 32 bits, since some Asian characters don't fit in 16 bits.
|
||||
*/
|
||||
#ifdef UNICODE16
|
||||
typedef unsigned short u8char_T; /* short should be 16 bits */
|
||||
#else
|
||||
typedef unsigned int u8char_T; /* int is 32 bits or more */
|
||||
#endif
|
||||
typedef unsigned int u8char_T; // int is 32 bits or more
|
||||
|
||||
#ifndef UNIX /* For Unix this is included in os_unix.h */
|
||||
# include <stdio.h>
|
||||
|
Reference in New Issue
Block a user