Logging cleanup

This commit is contained in:
Henrik Rydgård committed 2025-03-08 23:39:22 +01:00
1 parent 812b22a224
commit 89e031fb8a
6 files changed
+13 -6

No files matched your search

-1
View File
@@ -467,7 +467,6 @@ void DrawFPS(UIContext *ctx, const Bounds &bounds) {
}
if (System_GetPropertyBool(SYSPROP_CAN_READ_BATTERY_PERCENTAGE)) {
if (g_Config.iShowStatusFlags & (int)ShowStatusFlags::BATTERY_PERCENT) {
char temp[256];
const int percentage = System_GetPropertyInt(SYSPROP_BATTERY_PERCENTAGE);
// Just plain append battery. Add linebreak?
buffer.Printf(" Battery: %d%%", percentage);