Browse Source

* Oops, bad type (char instead of uint32) after ellipse rendering

improvement.
tags/v0.99.beta14
Jean-Yves Lamoureux jylam 17 years ago
parent
commit
a21ac5c0e8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      cucul/conic.c

+ 4
- 4
cucul/conic.c View File

@@ -251,7 +251,7 @@ static void ellipsepoints(cucul_canvas_t *cv, int xo, int yo, int x, int y,
b |= 0x8;

if((b & (0x1|0x4)) == (0x1|0x4)) {
char c = ch;
uint32_t c = ch;
if(thin) {
switch(c) {
@@ -273,7 +273,7 @@ static void ellipsepoints(cucul_canvas_t *cv, int xo, int yo, int x, int y,
cucul_put_char(cv, xo + x, yo + y, c);
}
if((b & (0x2|0x4)) == (0x2|0x4)) {
char c = ch;
uint32_t c = ch;
if(thin) {
switch(c) {
@@ -297,7 +297,7 @@ static void ellipsepoints(cucul_canvas_t *cv, int xo, int yo, int x, int y,


if((b & (0x1|0x8)) == (0x1|0x8)) {
char c = ch;
uint32_t c = ch;
if(thin) {
switch(c) {
@@ -320,7 +320,7 @@ static void ellipsepoints(cucul_canvas_t *cv, int xo, int yo, int x, int y,
}

if((b & (0x2|0x8)) == (0x2|0x8)) {
char c = ch;
uint32_t c = ch;
if(thin) {
switch(c) {


Loading…
Cancel
Save