Fix the font formatting issues introduced by r40557, r40558.

Fixes #7238. Pointed by Diver. Thanks ... and sorry.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40559 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Siarzhuk Zharski
2011-02-19 15:27:02 +00:00
parent 3440db0cce
commit c39eaa9d2d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ PowerStatusReplicant::_AboutRequested()
view->GetFont(&font);
font.SetSize(18);
font.SetFace(B_BOLD_FACE);
view->SetFontAndColor(0, strlen(B_TRANSLATE("PowerStatus"))-1, &font);
view->SetFontAndColor(0, strlen(B_TRANSLATE("PowerStatus")), &font);
alert->Go();
}
@@ -412,7 +412,7 @@ ProcessController::AboutRequested()
view->GetFont(&font);
font.SetSize(font.Size() * 1.5);
font.SetFace(B_BOLD_FACE);
view->SetFontAndColor(0, strlen(B_TRANSLATE("ProcessController"))-1, &font);
view->SetFontAndColor(0, strlen(B_TRANSLATE("ProcessController")), &font);
alert->Go();
}