Fix warnings

This commit is contained in:
Howard Su
2020-10-22 08:47:10 +08:00
parent fbd7321b48
commit 62868b2533
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ namespace audiomenu {
deviceId = stream->audio->getDeviceId();
ImGui::SetCursorPosX((menuColumnWidth / 2.0f) - (ImGui::CalcTextSize(name.c_str()).x / 2.0f));
ImGui::Text(name.c_str());
ImGui::Text("%s", name.c_str());
ImGui::PushItemWidth(menuColumnWidth);
bool running = stream->running;