mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-10 02:55:22 +02:00
Satisfy GCC -Wformat-security with string literals
This commit is contained in:
@ -49,7 +49,7 @@ namespace ImGui {
|
||||
void LeftLabel(const char* text) {
|
||||
float vpos = ImGui::GetCursorPosY();
|
||||
ImGui::SetCursorPosY(vpos + GImGui->Style.FramePadding.y);
|
||||
ImGui::Text(text);
|
||||
ImGui::Text("%s", text);
|
||||
ImGui::SameLine();
|
||||
ImGui::SetCursorPosY(vpos);
|
||||
}
|
||||
@ -57,4 +57,4 @@ namespace ImGui {
|
||||
void FillWidth() {
|
||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvailWidth());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user