diff options
-rw-r--r-- | html/en/history.html | 6 | ||||
-rw-r--r-- | src/cd_bitmap.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/html/en/history.html b/html/en/history.html index 2accf04..df7b432 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -27,7 +27,7 @@ <body> <h2>History of Changes</h2> -<h3>CVS (18/Mar/2011)</h3> +<h3>CVS (15/Ago/2011)</h3> <ul> <li><span class="hist_new">New:</span> functions <strong>cdContextIsPlus</strong> and <strong>cdContextType</strong>.</li> @@ -35,6 +35,10 @@ compiled using older Cairo and Pango versions.</li> <li><span class="hist_fixed">Fixed:</span> <strong>cdCanvasKillCanvas</strong> for the CD_IMAGE and CD_DBUFFER drivers of the Cairo base driver.</li> + <li><span class="hist_fixed">Fixed:</span> <strong>cdInitBitmap</strong> for + <span style="font-size:12.0pt;font-family:"Helvetica","sans-serif"; +mso-fareast-font-family:"Times New Roman";color:black;mso-ansi-language:PT-BR; +mso-fareast-language:PT-BR;mso-bidi-language:AR-SA">CD_RGBA.</span></li> </ul> <h3><a href="http://sourceforge.net/projects/canvasdraw/files/5.4.1/">Version 5.4.1</a> (09/Nov/2010)</h3> diff --git a/src/cd_bitmap.c b/src/cd_bitmap.c index 234668c..ec4909e 100644 --- a/src/cd_bitmap.c +++ b/src/cd_bitmap.c @@ -135,7 +135,7 @@ cdBitmap* cdInitBitmap(int w, int h, int type, ...) va_start(arglist, type); - if (type == CD_RGB) + if (type == CD_RGB || type == CD_RGBA) { data->r = va_arg(arglist, unsigned char*); data->g = va_arg(arglist, unsigned char*); |