From: Naffanya Date: Mon, 24 Mar 2014 23:33:41 +0000 (+0200) Subject: Change %i to %d X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/14fbadc58e3d6f6faa45d1d90fe1340f177ef045 Change %i to %d --- diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index 4e454b5e..7a0605a2 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -436,7 +436,7 @@ for(it = rsSettings.GetUserParams().begin(); parameter = rsu.user->GetParamValue(*it); if (params.length() + parameter.length() > RS_PARAMS_LEN - 1) { - logger("Script params string length %i exceeds the limit of %i symbols.", params.length() + parameter.length(), RS_PARAMS_LEN); + logger("Script params string length %d exceeds the limit of %d symbols.", params.length() + parameter.length(), RS_PARAMS_LEN); break; } params += parameter + " "; diff --git a/projects/stargazer/user_property.cpp b/projects/stargazer/user_property.cpp index aaa0c780..821b3ba3 100644 --- a/projects/stargazer/user_property.cpp +++ b/projects/stargazer/user_property.cpp @@ -18,7 +18,7 @@ USER_PROPERTIES::USER_PROPERTIES(const std::string & sd) disabledDetailStat(conf.disabledDetailStat, "DisabledDetailStat", false, false, GetStgLogger(), sd, properties), alwaysOnline(conf.alwaysOnline, "alwaysOnline", false, false, GetStgLogger(), sd, properties), tariffName (conf.tariffName, "tariff", false, false, GetStgLogger(), sd, properties), - nextTariff (conf.nextTariff, "next tariff", false, false, GetStgLogger(), sd, properties), + nextTariff (conf.nextTariff, "next tariff", false, false, GetStgLogger(), sd, properties), address (conf.address, "address", false, false, GetStgLogger(), sd, properties), note (conf.note, "note", false, false, GetStgLogger(), sd, properties), group (conf.group, "group", false, false, GetStgLogger(), sd, properties),