kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2_loaders.git/commit/?id=6ef1be536c3f4c2b50fc918830c250e73222f00f

commit 6ef1be536c3f4c2b50fc918830c250e73222f00f
Author: Kim Woelders <[email protected]>
Date:   Sat Jan 25 05:49:48 2020 +0100

    XCF loader: Use correct enum (gcc10)
---
 src/modules/loaders/loader_xcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/loaders/loader_xcf.c b/src/modules/loaders/loader_xcf.c
index a0fc11e..d426fa6 100644
--- a/src/modules/loaders/loader_xcf.c
+++ b/src/modules/loaders/loader_xcf.c
@@ -1306,7 +1306,7 @@ xcf_load_channel(void)
    free(name);
 
    /* create a new channel */
-   layer = new_layer(width, height, GRAY, 255, NORMAL_MODE);
+   layer = new_layer(width, height, RGBA_GIMAGE, 255, NORMAL_MODE);
    if (!layer)
       return NULL;
 

-- 


Reply via email to