This commit is contained in:
Kovid Goyal 2019-06-07 13:53:35 +05:30
parent 9c8cf04a80
commit 4a55eb9e7f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

2
glfw/internal.h vendored
View File

@ -199,7 +199,7 @@ typedef void (APIENTRY * PFN_vkVoidFunction)(void);
#define remove_i_from_array(array, i, count) { \
count--; \
if (i < count) { \
memmove(array + i, array + i + 1, sizeof(array[0]) * (count - 1)); \
memmove(array + i, array + i + 1, sizeof(array[0]) * (count - i)); \
}}
// Constructs a version number string from the public header macros

View File

@ -261,7 +261,7 @@ typedef struct {FONTS_DATA_HEAD} *FONTS_DATA_HANDLE;
#define remove_i_from_array(array, i, count) { \
count--; \
if (i < count) { \
memmove(array + i, array + i + 1, sizeof(array[0]) * (count - 1)); \
memmove(array + i, array + i + 1, sizeof(array[0]) * (count - i)); \
}}
// Global functions