• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

K.Takata's patch queue for Vim


コミットメタ情報

リビジョン7e5359357ca5da999564ae8da6f6100f02c86949 (tree)
日時2022-01-27 21:07:19
作者K.Takata <kentkt@csc....>
コミッターK.Takata

ログメッセージ

Fix mistake

変更サマリ

差分

diff -r 7e817eac1f63 -r 7e5359357ca5 dont-use-set_guifontwide-on-windows.patch
--- a/dont-use-set_guifontwide-on-windows.patch Thu Jan 27 21:04:45 2022 +0900
+++ b/dont-use-set_guifontwide-on-windows.patch Thu Jan 27 21:07:19 2022 +0900
@@ -1,5 +1,5 @@
11 # HG changeset patch
2-# Parent fc10a8cb666b22b1f8febfefe0ac8fcc2f36b2a3
2+# Parent 5c20d05d99169e742447cf8a681dfdf1afc471d7
33
44 diff --git a/src/gui.c b/src/gui.c
55 --- a/src/gui.c
@@ -40,17 +40,3 @@
4040
4141 /*
4242 * Get the font for 'guifontwide'.
43-diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp
44---- a/src/gui_dwrite.cpp
45-+++ b/src/gui_dwrite.cpp
46-@@ -1176,8 +1176,8 @@ DWriteContext::GetCharWidth(int c)
47- }
48- else
49- {
50-- text[0] = ((c - 0x10000) >> 10) + 0xD800;
51-- text[1] = ((c - 0x10000) & 0x3ff) + 0xDC00;
52-+ text[0] = (WCHAR)(((c - 0x10000) >> 10) + 0xD800);
53-+ text[1] = (WCHAR)(((c - 0x10000) & 0x3ff) + 0xDC00);
54- len = 2;
55- }
56- text[len] = L'\0';
diff -r 7e817eac1f63 -r 7e5359357ca5 win32-directwrite-ambiwidth-auto.patch
--- a/win32-directwrite-ambiwidth-auto.patch Thu Jan 27 21:04:45 2022 +0900
+++ b/win32-directwrite-ambiwidth-auto.patch Thu Jan 27 21:07:19 2022 +0900
@@ -1,5 +1,5 @@
11 # HG changeset patch
2-# Parent d71a232aef1b6fcd8ef35f54a857e21f8147f0bf
2+# Parent 114cb64261269e48d5469e34e91c9df4074d801d
33
44 diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp
55 --- a/src/gui_dwrite.cpp
@@ -47,8 +47,8 @@
4747 + }
4848 + else
4949 + {
50-+ text[0] = ((c - 0x10000) >> 10) + 0xD800;
51-+ text[1] = ((c - 0x10000) & 0x3ff) + 0xDC00;
50++ text[0] = (WCHAR)(((c - 0x10000) >> 10) + 0xD800);
51++ text[1] = (WCHAR)(((c - 0x10000) & 0x3ff) + 0xDC00);
5252 + len = 2;
5353 + }
5454 + text[len] = L'\0';
@@ -116,7 +116,7 @@
116116 diff --git a/src/gui_w32.c b/src/gui_w32.c
117117 --- a/src/gui_w32.c
118118 +++ b/src/gui_w32.c
119-@@ -5141,52 +5141,71 @@ error:
119+@@ -4913,52 +4913,71 @@ error:
120120 #endif
121121
122122 #ifdef USE_AMBIWIDTH_AUTO