K.Takata's patch queue for Vim
Revision | a95bc4ad19f50b1f638c6009de4aa6ea54eb56db (tree) |
---|---|
Zeit | 2022-02-02 11:40:20 |
Autor | K.Takata <kentkt@csc....> |
Commiter | K.Takata |
Update suppress warnings patch
@@ -1,5 +1,5 @@ | ||
1 | 1 | # HG changeset patch |
2 | -# Parent 0bea874bd35389e108185bf6a149d39c39775f8a | |
2 | +# Parent 29274fb6ba32ad8e3264e01b5a32c3c870cc9199 | |
3 | 3 | |
4 | 4 | diff --git a/src/cmdexpand.c b/src/cmdexpand.c |
5 | 5 | --- a/src/cmdexpand.c |
@@ -70,7 +70,7 @@ | ||
70 | 70 | diff --git a/src/getchar.c b/src/getchar.c |
71 | 71 | --- a/src/getchar.c |
72 | 72 | +++ b/src/getchar.c |
73 | -@@ -1780,16 +1780,16 @@ vgetc(void) | |
73 | +@@ -1768,16 +1768,16 @@ vgetc(void) | |
74 | 74 | c == K_TEAROFF) |
75 | 75 | { |
76 | 76 | char_u name[200]; |
@@ -117,10 +117,19 @@ | ||
117 | 117 | return WAIT_OBJECT_0; |
118 | 118 | return WaitForSingleObject(hHandle, dwMilliseconds); |
119 | 119 | } |
120 | +@@ -725,7 +725,7 @@ dyn_libintl_init(void) | |
121 | + for (i = 0; libintl_entry[i].name != NULL | |
122 | + && libintl_entry[i].ptr != NULL; ++i) | |
123 | + { | |
124 | +- if ((*libintl_entry[i].ptr = (FARPROC)GetProcAddress(hLibintlDLL, | |
125 | ++ if ((*libintl_entry[i].ptr = GetProcAddress(hLibintlDLL, | |
126 | + libintl_entry[i].name)) == NULL) | |
127 | + { | |
128 | + dyn_libintl_end(); | |
120 | 129 | diff --git a/src/version.c b/src/version.c |
121 | 130 | --- a/src/version.c |
122 | 131 | +++ b/src/version.c |
123 | -@@ -9412,7 +9412,7 @@ list_in_columns(char_u **items, int size | |
132 | +@@ -9460,7 +9460,7 @@ list_in_columns(char_u **items, int size | |
124 | 133 | // The rightmost column doesn't need a separator. |
125 | 134 | // Sacrifice it to fit in one more column if possible. |
126 | 135 | ncol = (int) (Columns + 1) / width; |