summarylogtreecommitdiffstats
path: root/fix-grit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-grit.patch')
-rw-r--r--fix-grit.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/fix-grit.patch b/fix-grit.patch
new file mode 100644
index 000000000000..186091eee698
--- /dev/null
+++ b/fix-grit.patch
@@ -0,0 +1,40 @@
+From cd792af5f92da6dfa00b0ed32126e6ccd17619b1 Mon Sep 17 00:00:00 2001
+From: Dave Murphy <davem@devkitpro.org>
+Date: Sat, 17 Sep 2016 15:58:04 +0100
+Subject: [PATCH] return NULL rather than false
+
+---
+ cldib/cldib_conv.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/cldib/cldib_conv.cpp b/cldib/cldib_conv.cpp
+index d0db746..11c2967 100644
+--- a/cldib/cldib_conv.cpp
++++ b/cldib/cldib_conv.cpp
+@@ -179,7 +179,7 @@ CLDIB *dib_bit_unpack_copy(CLDIB *src, int dstB, DWORD base)
+ CLDIB *dst= dib_alloc(srcW, srcH, dstB, NULL, dib_is_topdown(src));
+
+ if(dst==NULL)
+- return false;
++ return NULL;
+
+ BYTE *srcD= dib_get_img(src), *dstD= dib_get_img(dst);
+
+@@ -256,7 +256,7 @@ CLDIB *dib_8_to_true_copy(CLDIB *src, int dstB)
+ CLDIB *dst= dib_alloc(srcW, srcH, dstB, NULL, dib_is_topdown(src));
+
+ if(dst==NULL)
+- return false;
++ return NULL;
+
+ BYTE *srcD= dib_get_img(src), *dstD= dib_get_img(dst);
+
+@@ -301,7 +301,7 @@ CLDIB *dib_true_to_true_copy(CLDIB *src, int dstB)
+ CLDIB *dst= dib_alloc(srcW, srcH, dstB, NULL, dib_is_topdown(src));
+
+ if(dst==NULL)
+- return false;
++ return NULL;
+
+ BYTE *srcD= dib_get_img(src), *dstD= dib_get_img(dst);
+