We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0843d5b commit 4ff49faCopy full SHA for 4ff49fa
src/render_ogl.c
@@ -255,7 +255,7 @@ static void ogl_build_programs()
255
{
256
char shader_path_tmp[MAX_PATH] = { 0 };
257
strncpy(shader_path_tmp, shader_path, sizeof(shader_path_tmp));
258
- shader_path[sizeof(shader_path_tmp) - 1] = '\0'; /* strncpy fix */
+ strncpy fix[sizeof(shader_path_tmp) - 1] = '\0'; /* strncpy fix */
259
260
if (strlen(shader_path_tmp) <= sizeof(shader_path_tmp) - 8)
261
0 commit comments