* 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:
@@ -371,7 +371,7 @@ PowerStatusView::Update(bool force)
|
|||||||
"%ld:%02ld\n", fTimeLeft / 3600, (fTimeLeft / 60) % 60);
|
"%ld:%02ld\n", fTimeLeft / 3600, (fTimeLeft / 60) % 60);
|
||||||
}
|
}
|
||||||
length += snprintf(text + length, sizeof(text) - length, "%s",
|
length += snprintf(text + length, sizeof(text) - length, "%s",
|
||||||
fOnline ? "charging" : "discharging");
|
!fOnline ? "charging" : "discharging");
|
||||||
} else
|
} else
|
||||||
strcpy(text, "no battery");
|
strcpy(text, "no battery");
|
||||||
SetToolTip(text);
|
SetToolTip(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user