From cb39c0a4ab368466d52816690587db81dad198f9 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Sat, 17 Apr 2021 14:39:26 +0300

Subject: [PATCH 1/1] Window: Cleanup


src/ui/window.c | 32 ++++++++++++++------------------

1 file changed, 14 insertions(+), 18 deletions(-)

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

index e1266357..bda645f7 100644

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

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

@@ -63,9 +63,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

#include "stb_image.h"

#include "stb_image_resize.h"

-#include <stdlib.h>

-#include <string.h>

static iWindow *theWindow_ = NULL;

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

@@ -1317,24 +1314,23 @@ static float pixelRatio_Window_(const iWindow *d) {

#endif

static float displayScale_Window_(const iWindow *d) {

     /* will return 0, in which case we just guess and return 96 DPI.  */

     }

 }

#if defined (iPlatformApple)

 iUnused(d);

 /* Apple UI sizes are fixed and only scaled by pixel ratio. */

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.10/patch/cb39c0a4ab368466d52816690587db81dad198f9.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
58.25548 milliseconds
Gemini-to-HTML Time
1.14688 milliseconds

This content has been proxied by September (ba2dc).