mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-21 02:41:11 +00:00
fix logic inversion
This commit is contained in:
parent
5530cc207d
commit
80bafed48f
1 changed files with 4 additions and 3 deletions
|
@ -5555,6 +5555,10 @@ With two parameters ('maximum' and a number),\n\
|
|||
" %"PRIu64" %"PRIu64,
|
||||
&mTotal, &mResident, &mShared, &mText, &mLib, &mData, &mDirty) != 7)
|
||||
{
|
||||
memLast = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ([memType caseInsensitiveCompare: @"Resident"] == NSOrderedSame)
|
||||
{
|
||||
memLast = mResident;
|
||||
|
@ -5567,9 +5571,6 @@ With two parameters ('maximum' and a number),\n\
|
|||
{
|
||||
memLast = mTotal;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
memLast *= (4 * 1024);
|
||||
if (memLast <= 0) memLast = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue