Bug 792833 - User specifies source of 'num' field'; either...

transaction number or split action (requires at least GnuCash 2.5.0)

Strip leading delimiters from KVP keys when reading them from the
database. Leading delimiters are incorrectly included in databases
created with GnuCash 2.6.x.
This commit is contained in:
John Ralls
2018-02-20 12:02:38 -08:00
parent 7e814ad037
commit 78705dc8be

View File

@@ -203,7 +203,7 @@ get_key_from_path (std::string path)
auto idx = get_final_delim(path);
if (idx == std::string::npos)
return path;
return path.substr(idx);
return path.substr(idx + 1);
}
static std::string