File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ void EDVoiceGUI::beginMainWindow()
163163 // Center title vertically
164164 ImGui::PushFont (NULL , style.FontSizeBase * 1 .2f );
165165 ImGui::SetCursorPos (ImVec2 (titleMarginLeft, .5f * (_windowSystem->titleBarHeight () - ImGui::GetFontSize ())));
166- ImGui::Text (_windowSystem->windowTitle ());
166+ ImGui::Text (" %s " , _windowSystem->windowTitle ());
167167 ImGui::PopFont ();
168168
169169 // Minimize & Resize buttons
@@ -458,7 +458,7 @@ void EDVoiceGUI::loadVoicePack(void* userdata, std::string path)
458458
459459 if (!path.empty ()) {
460460 try {
461- std::string& voicepackName = std::filesystem::path (path).stem ().string ();
461+ const std::string voicepackName = std::filesystem::path (path).stem ().string ();
462462 size_t idxNewVoicePack = voicepack.addVoicePack (voicepackName, path);
463463 voicepack.loadVoicePackByIndex (idxNewVoicePack);
464464 }
You can’t perform that action at this time.
0 commit comments