]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Portable sed.
[stg.git] / projects / stargazer / user_impl.cpp
index 51f49ff13dccb4726a9575d910c35ea2ccd9e29c..f71627306b1ab992549387d1c072aa6cbbe6d64b 100644 (file)
@@ -1352,7 +1352,7 @@ for (size_t i = 0; i < property.Conf().services.size(); ++i)
     if (m_services.Find(property.Conf().services[i], &conf))
         continue;
     if (conf.payDay == tms.tm_mday ||
-        conf.payDay == 0 && tms.tm_mday == DaysInCurrentMonth())
+        (conf.payDay == 0 && tms.tm_mday == DaysInCurrentMonth()))
         {
         double c = cash;
         double fee = conf.cost * passiveTimePart;