[BACK]Return to fcons.c CVS log [TXT][DIR] Up to [local] / funnyos / dev / fcons

Diff for /funnyos/dev/fcons/fcons.c between version 1.2 and 1.3

version 1.2, 2007/10/16 22:41:36 version 1.3, 2007/10/29 12:23:06
Line 33 
Line 33 
 {  {
         struct fcons_dd *ddp = self->dv_devdata;          struct fcons_dd *ddp = self->dv_devdata;
   
           /* link our parent's dv_aux (fcons_handle) to us */
           ddp->fd_fh = self->dv_parent->dv_aux;
   
         ddp->fd_currow = 0;          ddp->fd_currow = 0;
         ddp->fd_curcol = 0;          ddp->fd_curcol = 0;
   
Line 52 
Line 55 
 fcons_putchar(void *ddp, char ch)  fcons_putchar(void *ddp, char ch)
 {  {
         struct fcons_dd *fdp = ddp;          struct fcons_dd *fdp = ddp;
         struct fcons_handle *fhp = &fdp->fd_fh;          struct fcons_handle *fhp = fdp->fd_fh;
   
         /* if we reach screen width */          /* if we reach screen width */
         if (fdp->fd_curcol == (FCONS_WIDTH - 1)) {          if (fdp->fd_curcol == (FCONS_WIDTH - 1)) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb