소스 검색

Check for background image allocation failure

master
Bert Münnich 11 년 전
부모
커밋
d049391916
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      Makefile
  2. +2
    -1
      image.c

+ 1
- 1
Makefile 파일 보기

@@ -1,4 +1,4 @@
VERSION = git-20140206
VERSION = git-20140207

PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man


+ 2
- 1
image.c 파일 보기

@@ -492,7 +492,8 @@ void img_render(img_t *img)
imlib_context_set_drawable(win->pm);

if (imlib_image_has_alpha()) {
bg = imlib_create_image(dw, dh);
if ((bg = imlib_create_image(dw, dh)) == NULL)
die("could not allocate memory");
imlib_context_set_image(bg);
imlib_image_set_has_alpha(0);



불러오는 중...
취소
저장