mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 14:45:31 +03:00
Fix for spurious github code scanning alert
This commit is contained in:
parent
9503725a32
commit
b33f8416db
5
glfw/context.c
vendored
5
glfw/context.c
vendored
@ -32,7 +32,6 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@ -236,10 +235,10 @@ bool _glfwRefreshContextAttribs(_GLFWwindow* window,
|
||||
}
|
||||
}
|
||||
|
||||
if (!sscanf(version, "%d.%d.%d",
|
||||
if (sscanf(version, "%d.%d.%d",
|
||||
&window->context.major,
|
||||
&window->context.minor,
|
||||
&window->context.revision))
|
||||
&window->context.revision) < 1)
|
||||
{
|
||||
if (window->context.client == GLFW_OPENGL_API)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user