mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Fix
This commit is contained in:
parent
a6643b2c33
commit
efdcdb88fa
@ -121,13 +121,13 @@ bool CrossPointSettings::loadFromFile() {
|
||||
if (++settingsRead >= fileSettingsCount) break;
|
||||
serialization::readPod(inputFile, hyphenationEnabled);
|
||||
if (++settingsRead >= fileSettingsCount) break;
|
||||
if (++settingsRead >= fileSettingsCount) break;
|
||||
{
|
||||
std::string urlPath;
|
||||
serialization::readString(inputFile, urlPath);
|
||||
strncpy(opdsPath, urlPath.c_str(), sizeof(opdsPath) - 1);
|
||||
opdsPath[sizeof(opdsPath) - 1] = '\0';
|
||||
}
|
||||
if (++settingsRead >= fileSettingsCount) break;
|
||||
} while (false);
|
||||
|
||||
inputFile.close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user