From 1b2debf3bd66e02be3e06d4b858ed6f8841dfeae Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 16 Sep 2024 15:25:42 +0300 Subject: [PATCH] fix column data type interpretation --- src/app/browser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser.cpp b/src/app/browser.cpp index fa215a3a..b9123bd4 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -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 )