소스 검색

* Fixed typos in cucul/dither.c that prevented using ordered dither modes,

thanks to Sean D'Epagnier.
tags/v0.99.beta14
Sam Hocevar sam 18 년 전
부모
커밋
1f8549fc6a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      cucul/dither.c

+ 3
- 3
cucul/dither.c 파일 보기

@@ -757,7 +757,7 @@ int cucul_set_dither_mode(cucul_dither_t *d, char const *str)
d->get_dither = get_ordered4_dither; d->get_dither = get_ordered4_dither;
d->increment_dither = increment_ordered4_dither; d->increment_dither = increment_ordered4_dither;
} }
else if(!strcasecmp(str, "ordered4"))
else if(!strcasecmp(str, "ordered8"))
{ {
d->init_dither = init_ordered8_dither; d->init_dither = init_ordered8_dither;
d->get_dither = get_ordered8_dither; d->get_dither = get_ordered8_dither;
@@ -805,8 +805,8 @@ char const * const * cucul_get_dither_mode_list(cucul_dither_t const *d)
{ {
"none", "no dithering", "none", "no dithering",
"ordered2", "2x2 ordered dithering", "ordered2", "2x2 ordered dithering",
"ordered2", "2x2 ordered dithering",
"ordered2", "2x2 ordered dithering",
"ordered4", "4x4 ordered dithering",
"ordered8", "8x8 ordered dithering",
"random", "random dithering", "random", "random dithering",
"fstein", "Floyd-Steinberg dithering", "fstein", "Floyd-Steinberg dithering",
NULL, NULL NULL, NULL


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