mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
bghostview: fix saving of window size (#6966)
This commit is contained in:
@@ -7,7 +7,7 @@ Ghostscript and helpful advice made this port possible.."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/BGhostView"
|
||||
COPYRIGHT="1999 Andreas Raquet"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
srcGitRev="bad8d39a1834ca4ada44c56a412b0556363b5b0e"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BGhostView/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="5383b43134b324d13d15d4851010925c572fb5db330bb6d296210d415e796e6f"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From a3eaebe379f4b878bab0276ed27c67292c4115f2 Mon Sep 17 00:00:00 2001
|
||||
From 48a06e1a909f53b7a3146e6dbe27d130edde4d07 Mon Sep 17 00:00:00 2001
|
||||
From: Anarchos <sylvain_kerjean@hotmail.com>
|
||||
Date: Mon, 28 Feb 2022 14:19:31 +0100
|
||||
Subject: compiling for x86_64
|
||||
@@ -56,7 +56,7 @@ index 7d95440..f502a4d 100644
|
||||
2.36.1
|
||||
|
||||
|
||||
From de6b7984d348eed361a18d1aef7a0c253e661bfd Mon Sep 17 00:00:00 2001
|
||||
From 6f8d8b14024beba3bece3a6ccf8f09b4101706e5 Mon Sep 17 00:00:00 2001
|
||||
From: Anarchos <sylvain_kerjean@hotmail.com>
|
||||
Date: Mon, 28 Feb 2022 14:32:45 +0100
|
||||
Subject: compiling for x86_64
|
||||
@@ -89,7 +89,7 @@ index bab63ea..2df823d 100644
|
||||
2.36.1
|
||||
|
||||
|
||||
From 7fba2e9a1b17c053837ccbffa9ad5b6f0b138173 Mon Sep 17 00:00:00 2001
|
||||
From 0cc0093681a156fdca2e453ea96d79cb416f2982 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Sat, 28 May 2022 13:35:23 -0600
|
||||
Subject: fix rdef image data
|
||||
@@ -739,3 +739,26 @@ index cd2b5c0..90c246c 100644
|
||||
--
|
||||
2.36.1
|
||||
|
||||
|
||||
From 98abaa34d907f98accbcf0f2ba720ca37a21a07e Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Sat, 28 May 2022 15:37:24 -0600
|
||||
Subject: fix window frame saving
|
||||
|
||||
|
||||
diff --git a/BGhostview.cpp b/BGhostview.cpp
|
||||
index 2df823d..0dd925b 100644
|
||||
--- a/BGhostview.cpp
|
||||
+++ b/BGhostview.cpp
|
||||
@@ -464,7 +464,7 @@ void BGhostview::writeSettings() {
|
||||
set.SetData("Recent4",lastOpened->ItemAt(4), B_PATH_NAME_LENGTH);
|
||||
set.SetData("Zoom",&magstep, sizeof(int));
|
||||
set.SetData("Pagemedia",&pagemedia, sizeof(int));
|
||||
- BRect frame;
|
||||
+ BRect frame(Frame());
|
||||
set.SetData("Bounds",&frame,sizeof(BRect));
|
||||
set.Save();
|
||||
};
|
||||
--
|
||||
2.36.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user