From 43b501275c482c0ec30a68edd694f77748bedd3a Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi

Date: Tue, 18 May 2021 14:58:58 +0300

Subject: [PATCH 1/1] App: Fixed init of UI palette on first run

IssueID #275


src/app.c | 1 +

src/ui/window.c | 2 +-

2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/app.c b/src/app.c

index 555206a9..49746560 100644

--- a/src/app.c

+++ b/src/app.c

@@ -729,6 +729,7 @@ static void init_App_(iApp *d, int argc, char **argv) {

 setupApplication_iOS();

#endif

 init_Keys();

 loadPrefs_App_(d);

 load_Keys(dataDir_App_());

 d->window = new_Window(d->initialWindowRect);

diff --git a/src/ui/window.c b/src/ui/window.c

index cd8f2e12..2babb6e1 100644

--- a/src/ui/window.c

+++ b/src/ui/window.c

@@ -59,7 +59,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

static iWindow *theWindow_ = NULL;

-#if defined (iPlatformApple) || defined (iPlatformLinux)

+#if defined (iPlatformApple) || defined (iPlatformLinux) || defined (iPlatformOther)

static float initialUiScale_ = 1.0f;

#else

static float initialUiScale_ = 1.1f;

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/patch/43b501275c482c0ec30a68edd694f77748bedd3a.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
66.080428 milliseconds
Gemini-to-HTML Time
0.59063 milliseconds

This content has been proxied by September (ba2dc).