Changeset 958 for libcaca/trunk/cucul/box.c
 Timestamp:
 May 18, 2006, 8:23:47 AM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

libcaca/trunk/cucul/box.c
r870 r958 85 85 if(y1 >= 0) 86 86 for(x = x1 < 0 ? 1 : x1 + 1; x < x2 && x < xmax; x++) 87 _cucul_putchar32(cv, x, y1, (uint32_t)'');87 cucul_putchar(cv, x, y1, ''); 88 88 89 89 if(y2 <= ymax) 90 90 for(x = x1 < 0 ? 1 : x1 + 1; x < x2 && x < xmax; x++) 91 _cucul_putchar32(cv, x, y2, (uint32_t)'');91 cucul_putchar(cv, x, y2, ''); 92 92 93 93 if(x1 >= 0) 94 94 for(y = y1 < 0 ? 1 : y1 + 1; y < y2 && y < ymax; y++) 95 _cucul_putchar32(cv, x1, y, (uint32_t)'');95 cucul_putchar(cv, x1, y, ''); 96 96 97 97 if(x2 <= xmax) 98 98 for(y = y1 < 0 ? 1 : y1 + 1; y < y2 && y < ymax; y++) 99 _cucul_putchar32(cv, x2, y, (uint32_t)'');99 cucul_putchar(cv, x2, y, ''); 100 100 101 101 /* Draw corners */ 102 102 if(x1 >= 0 && y1 >= 0) 103 _cucul_putchar32(cv, x1, y1, (uint32_t)',');103 cucul_putchar(cv, x1, y1, ','); 104 104 105 105 if(x1 >= 0 && y2 <= ymax) 106 _cucul_putchar32(cv, x1, y2, (uint32_t)'`');106 cucul_putchar(cv, x1, y2, '`'); 107 107 108 108 if(x2 <= xmax && y1 >= 0) 109 _cucul_putchar32(cv, x2, y1, (uint32_t)'.');109 cucul_putchar(cv, x2, y1, '.'); 110 110 111 111 if(x2 <= xmax && y2 <= ymax) 112 _cucul_putchar32(cv, x2, y2, (uint32_t)'\'');112 cucul_putchar(cv, x2, y2, '\''); 113 113 114 114 return 0; … … 160 160 for(y = y1; y <= y2; y++) 161 161 for(x = x1; x <= x2; x++) 162 _cucul_putchar32(cv, x, y, ch);162 cucul_putchar(cv, x, y, ch); 163 163 164 164 return 0;
Note: See TracChangeset
for help on using the changeset viewer.