Compare commits
2 Commits
pico_sdk
...
563d9c5487
| Author | SHA1 | Date | |
|---|---|---|---|
| 563d9c5487 | |||
| 34bc322b9b |
@@ -6,7 +6,7 @@ endif()
|
||||
project(PIP)
|
||||
set(PIP_MAJOR 5)
|
||||
set(PIP_MINOR 5)
|
||||
set(PIP_REVISION 2)
|
||||
set(PIP_REVISION 3)
|
||||
set(PIP_SUFFIX )
|
||||
set(PIP_COMPANY SHS)
|
||||
set(PIP_DOMAIN org.SHS)
|
||||
|
||||
@@ -206,7 +206,10 @@ PIString PIString::dtos(const double num, char format, int precision) {
|
||||
if (wr > 4) wr = 4;
|
||||
f[2 + wr] = format;
|
||||
f[3 + wr] = 0;
|
||||
pisprintf(f, num);
|
||||
char ch[256];
|
||||
piZeroMemory(ch, 256);
|
||||
snprintf(ch, 256, f, num);
|
||||
return PIStringAscii(ch).replaceAll(',', '.');
|
||||
}
|
||||
#undef pisprintf
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ const PIString contextName = "QAD::PIValueTreeEdit";
|
||||
|
||||
|
||||
void gatherStrings(TSFile::Context & context, const PIValueTree & vt, const PIString & loc) {
|
||||
const static PIStringList attrs({Attribute::prefix, Attribute::suffix});
|
||||
const static PIStringList attrs({Attribute::prefix, Attribute::suffix, Attribute::toolTip});
|
||||
for (const auto & c: vt.children()) {
|
||||
context.confirm(c.name(), loc);
|
||||
context.confirm(c.comment(), loc);
|
||||
|
||||
Reference in New Issue
Block a user