mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Save text buffer in Meter
This commit is contained in:

committed by
BenBE

parent
23c5b9ce3c
commit
2d1042adb3
@ -36,10 +36,10 @@ static void ZfsCompressedArcMeter_printRatioString(const Meter* this, char* buff
|
||||
xSnprintf(buffer, size, "%.2f:1", this->total / this->values[0]);
|
||||
}
|
||||
|
||||
static void ZfsCompressedArcMeter_updateValues(Meter* this, char* buffer, size_t size) {
|
||||
static void ZfsCompressedArcMeter_updateValues(Meter* this) {
|
||||
Platform_setZfsCompressedArcValues(this);
|
||||
|
||||
ZfsCompressedArcMeter_printRatioString(this, buffer, size);
|
||||
ZfsCompressedArcMeter_printRatioString(this, this->txtBuffer, sizeof(this->txtBuffer));
|
||||
}
|
||||
|
||||
static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) {
|
||||
|
Reference in New Issue
Block a user