diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-15 14:32:08 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:33:28 +0200 |
commit | af96cfe9efa57f6b4b70d12aaab4d40bad639004 (patch) | |
tree | 85bbf23ff5156d2c86d8ffc626929c2e9e347bac /Applications | |
parent | 43a0ffe54d46577227326419a8983767dc3e9bb2 (diff) | |
download | serenity-af96cfe9efa57f6b4b70d12aaab4d40bad639004.zip |
SystemMonitor: Move memory graph caption from KB to KiB
This changes the graph caption from KB to KiB, but it keeps just "K"
instead of "KiB" for all the numbers in columns in the table, since "K"
is fairly well-established as abbreviation of "KiB" (the SI prefix is
lower-case), and space is at a premium here.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/SystemMonitor/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp index c8b69a80bc..916daf7c72 100644 --- a/Applications/SystemMonitor/main.cpp +++ b/Applications/SystemMonitor/main.cpp @@ -559,7 +559,7 @@ NonnullRefPtr<GUI::Widget> build_graphs_tab() memory_graph.set_text_color(Color::Cyan); memory_graph.set_graph_color(Color::from_rgb(0x00bbbb)); memory_graph.text_formatter = [](int value, int max) { - return String::format("%d / %d KB", value, max); + return String::format("%d / %d KiB", value, max); }; self.add<MemoryStatsWidget>(memory_graph); |