Commit 572e3252 authored by w4t's avatar w4t

fix format string warnings

parent 1fa52e31
Pipeline #56 canceled with stages
......@@ -452,8 +452,9 @@ bool ofxImGui::AddParameter(ofParameter<void>& parameter)
//--------------------------------------------------------------
bool ofxImGui::AddRadio(ofParameter<int>& parameter, std::vector<std::string> labels, int columns)
{
auto uniqueName = GetUniqueName(parameter);
ImGui::Text(uniqueName);
//auto uniqueName = GetUniqueName(parameter);
//ImGui::Text(uniqueName);
ImGui::Text("%s", parameter.getName().c_str());
auto result = false;
auto tmpRef = parameter.get();
ImGui::PushID(uniqueName);
......
......@@ -20,7 +20,7 @@ void ofxImGui::LoggerChannel::log( ofLogLevel level, const std::string & module,
}
void ofxImGui::LoggerChannel::log( ofLogLevel level, const std::string & module, const char* format, va_list args ){
getBuffer().appendf( "[%s] %s: %s", ofGetLogLevelName( level, true ).c_str(), module.c_str() );
getBuffer().appendf( "[%s] %s: ", ofGetLogLevelName( level, true ).c_str(), module.c_str() );
getBuffer().appendfv( format, args );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment