fix column data type interpretation

This commit is contained in:
yggverse 2024-09-16 15:25:42 +03:00
parent 19d7428e75
commit 1b2debf3bd

View File

@ -295,11 +295,11 @@ int Browser::session_restore()
sqlite3_column_int(
statement,
DB::SESSION::IS_FULLSCREEN
) ? fullscreen() : unfullscreen();
) == 1 ? fullscreen() : unfullscreen();
// Restore children components
browserMain->session_restore(
sqlite3_column_int(
sqlite3_column_int64(
statement,
DB::SESSION::ID
)