Kaydet (Commit) 55b077ca authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Work around bogus warning C4701: potentially uninitialized local variable

Change-Id: I9c5d9c53785828b3535c960f826ccd3720b2e4c3
üst 39a6939b
...@@ -550,7 +550,7 @@ void PresenterPaneBorderPainter::Renderer::PaintTitle ( ...@@ -550,7 +550,7 @@ void PresenterPaneBorderPainter::Renderer::PaintTitle (
case RendererPaneStyle::Anchor::Right: case RendererPaneStyle::Anchor::Right:
nX = rInnerBox.X + rInnerBox.Width - nTextWidth; nX = rInnerBox.X + rInnerBox.Width - nTextWidth;
break; break;
case RendererPaneStyle::Anchor::Center: default: // RendererPaneStyle::Anchor::Center
nX = rInnerBox.X + (rInnerBox.Width - nTextWidth)/2; nX = rInnerBox.X + (rInnerBox.Width - nTextWidth)/2;
break; break;
} }
......
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