Browse Source

Fixed GCC warning.:

Бранимир Караџић 5 years ago
parent
commit
4d4ef74fe6
1 changed files with 1 additions and 3 deletions
  1. 1 3
      examples/common/example-glue.cpp

+ 1 - 3
examples/common/example-glue.cpp

@@ -150,9 +150,7 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
 		}
 		}
 		else if (ImGui::IsItemHovered() )
 		else if (ImGui::IsItemHovered() )
 		{
 		{
-			char tmp[1024];
-			bx::snprintf(tmp, BX_COUNTOF(tmp), "Documentation: %.*s", url.getLength(), url.getPtr() );
-			ImGui::SetTooltip(tmp);
+			ImGui::SetTooltip("Documentation: %.*s", url.getLength(), url.getPtr() );
 		}
 		}
 	}
 	}