* charging/discharging text was mixed up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34021 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a0750e6550
commit
c479106612
@ -371,7 +371,7 @@ PowerStatusView::Update(bool force)
|
||||
"%ld:%02ld\n", fTimeLeft / 3600, (fTimeLeft / 60) % 60);
|
||||
}
|
||||
length += snprintf(text + length, sizeof(text) - length, "%s",
|
||||
fOnline ? "charging" : "discharging");
|
||||
!fOnline ? "charging" : "discharging");
|
||||
} else
|
||||
strcpy(text, "no battery");
|
||||
SetToolTip(text);
|
||||
|
Loading…
Reference in New Issue
Block a user