bignum cleanup

This commit is contained in:
marschap
2005-06-05 16:26:05 +00:00
parent 4e0eaa1aa6
commit 925e7e0fc5
5 changed files with 102 additions and 130 deletions
+4 -8
View File
@@ -338,15 +338,11 @@ icp_a106_num (Driver *drvthis, int x, int num)
{
PrivateData *p = (PrivateData *) drvthis->private_data;
if( num < 0 || num > 10 ) return;
if ((num < 0) || (num > 10))
return;
{
int y = ( p->height - 1 ) / 2 + 1;
if( num == 11 )
icp_a106_chr( drvthis, x, y, ':' );
else
icp_a106_chr( drvthis, x, y, num + '0' );
}
icp_a106_chr(drvthis, x, 1 + (p->height - 1) / 2,
(num == 10) ? ':' : (num + '0'));
}