mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Version 2.5.9: Fix reading settings from old apps.
This commit is contained in:
@@ -725,7 +725,9 @@ bool ReadSetting(
|
||||
auto position = TWindowPos();
|
||||
stream >> position.x >> position.y >> position.w >> position.h;
|
||||
stream >> position.moncrc >> position.maximized;
|
||||
stream >> position.scale;
|
||||
if (version >= 2005009) {
|
||||
stream >> position.scale;
|
||||
}
|
||||
if (!CheckStreamStatus(stream)) return false;
|
||||
|
||||
DEBUG_LOG(("Window Pos: Read from storage %1, %2, %3, %4 (scale %5%, maximized %6)")
|
||||
|
||||
Reference in New Issue
Block a user