Cleanup: Address format-security warning

This commit is contained in:
Sergey Sharybin
2022-09-29 10:02:04 +02:00
parent 5dd48c50f0
commit 9be99bcb45

View File

@@ -1412,7 +1412,7 @@ static void draw_selected_name(
if (v3d->flag2 & V3D_SHOW_VIEWER) {
if (!BLI_listbase_is_empty(&v3d->viewer_path.path)) {
s += sprintf(s, IFACE_(" (Viewer)"));
s += sprintf(s, "%s", IFACE_(" (Viewer)"));
}
}