Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing
diff options
context:
space:
mode:
Diffstat (limited to 'source/windowing')
-rw-r--r--source/windowing/StarItemSlotWidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/windowing/StarItemSlotWidget.cpp b/source/windowing/StarItemSlotWidget.cpp
index 82407be..666cbd0 100644
--- a/source/windowing/StarItemSlotWidget.cpp
+++ b/source/windowing/StarItemSlotWidget.cpp
@@ -17,7 +17,10 @@ static String formatShortSize(uint64_t n) {
uint64_t divisor = 1000ull;
char suffix = 'k';
- if (n >= 1000000000000000ull) {
+ if (n >= 1000000000000000000ull) {
+ divisor = 1000000000000000000ull;
+ suffix = 'Q';
+ } else if (n >= 1000000000000000ull) {
divisor = 1000000000000000ull;
suffix = 'q';
} else if (n >= 1000000000000ull) {