And fixed.

This commit is contained in:
Miran Grča
2021-11-29 17:57:21 +01:00
committed by GitHub
parent 451217c96b
commit 31f6c06f23

View File

@@ -583,7 +583,7 @@ load_general(void)
video_framerate = config_get_int(cat, "video_gl_framerate", -1);
video_vsync = config_get_int(cat, "video_gl_vsync", 0);
strcpy(video_shader, config_get_string(cat, "video_gl_shader", ""), sizeof(video_shader));
strncpy(video_shader, config_get_string(cat, "video_gl_shader", ""), sizeof(video_shader));
}