mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (#1450, #1451)
This commit is contained in:
		@@ -1341,7 +1341,7 @@ void ImGui::ShowTestWindow(bool* p_open)
 | 
			
		||||
            if (ImGui::Button("Select.."))
 | 
			
		||||
                ImGui::OpenPopup("select");
 | 
			
		||||
            ImGui::SameLine();
 | 
			
		||||
            ImGui::Text(selected_fish == -1 ? "<None>" : names[selected_fish]);
 | 
			
		||||
            ImGui::TextUnformatted(selected_fish == -1 ? "<None>" : names[selected_fish]);
 | 
			
		||||
            if (ImGui::BeginPopup("select"))
 | 
			
		||||
            {
 | 
			
		||||
                ImGui::Text("Aquarium");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user