From 837488871bfb849c1f0816cc72f49ecce798b123 Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 18 Jan 2011 13:01:04 +0000 Subject: [PATCH] Fixed an issue that BevelType doesn't work correctly in Meter. (Issue 178) --- Library/Meter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Meter.cpp b/Library/Meter.cpp index 703636ff..145307a9 100644 --- a/Library/Meter.cpp +++ b/Library/Meter.cpp @@ -871,7 +871,7 @@ void CMeter::DrawBevel(Graphics& graphics, const Rect& rect, const Pen& light, c graphics.DrawLine(&light, l, t, l, b); graphics.DrawLine(&light, l, t, r, t); graphics.DrawLine(&light, l + 1, t + 1, l + 1, b - 1); - graphics.DrawLine(&light, l + 1, t + 1, r - 1, l + 1); + graphics.DrawLine(&light, l + 1, t + 1, r - 1, t + 1); graphics.DrawLine(&dark, l, b, r, b); graphics.DrawLine(&dark, r, t, r, b); graphics.DrawLine(&dark, l + 1, b - 1, r - 1, b - 1);