From e122eec9c170cd06ec849725606171d12bab7bd9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 12 Sep 2024 23:47:44 +0300 Subject: [PATCH] fix attribute value data type --- src/app/browser/main/tab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index 023b7cd3..94d5686c 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -119,7 +119,7 @@ void Tab::save( db, APP_BROWSER_MAIN__SESSION__ID, page_number, - page_number == get_current_page() ? 1 : 0 + page_number == get_current_page() ); // Delegate save actions to children components @@ -457,7 +457,7 @@ sqlite3_int64 Tab::DB::SESSION::add( )SQL", APP_BROWSER_MAIN__SESSION__ID, PAGE_NUMBER, - IS_CURRENT + IS_CURRENT ? 1 : 0 ).c_str(), nullptr, nullptr,