fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12406 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,7 +37,7 @@ class HelloView : public BView {
|
|||||||
|
|
||||||
message = "to draw a line!";
|
message = "to draw a line!";
|
||||||
width = StringWidth(message);
|
width = StringWidth(message);
|
||||||
p. x = r.left + r.Width() / 2.0 - width / 2.0;
|
p.x = r.left + r.Width() / 2.0 - width / 2.0;
|
||||||
p.y += 20;
|
p.y += 20;
|
||||||
|
|
||||||
DrawString(message, p);
|
DrawString(message, p);
|
||||||
|
|||||||
Reference in New Issue
Block a user