[Libreoffice-commits] online.git: common/Util.cpp

Michael Meeks michael.meeks at collabora.com
Tue Feb 7 21:34:07 UTC 2017


 common/Util.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e3e2a5eeee65333c8f65d60c9e760de9268305cf
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Feb 7 20:07:37 2017 +0000

    WaE: add missing bracket.

diff --git a/common/Util.cpp b/common/Util.cpp
index a17698c..b52ce8f 100644
--- a/common/Util.cpp
+++ b/common/Util.cpp
@@ -152,7 +152,7 @@ namespace Util
             {
                 const char *value;
                 // Shared_Dirty is accounted for by forkit's RSS
-                if (value = startsWith(line, "Private_Dirty:"))
+                if ((value = startsWith(line, "Private_Dirty:")))
                 {
                     numDirtyKb += atoi(value);
                 }


More information about the Libreoffice-commits mailing list