From 71992c396760f87599a04f4ceee98e5b03259500 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 5 Mar 2018 12:40:41 +0000 Subject: [PATCH] Fix incorrect view details tooltip formatter --- qrenderdoc/Windows/PipelineState/D3D12PipelineStateViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/PipelineState/D3D12PipelineStateViewer.cpp b/qrenderdoc/Windows/PipelineState/D3D12PipelineStateViewer.cpp index 218989377..117471620 100644 --- a/qrenderdoc/Windows/PipelineState/D3D12PipelineStateViewer.cpp +++ b/qrenderdoc/Windows/PipelineState/D3D12PipelineStateViewer.cpp @@ -617,7 +617,7 @@ void D3D12PipelineStateViewer::setViewDetails(RDTreeWidgetItem *node, const D3D1 if((res.firstElement * res.elementByteSize) > 0 || (res.numElements * res.elementByteSize) < buf->length) { - text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %3 bytes in length (%5 " + text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %3 bytes in length (%4 " "elements).") .arg(res.firstElement * res.elementByteSize) .arg((res.firstElement + res.numElements) * res.elementByteSize)