Changeset 4 for abuse/trunk/src/imlib/jwindow.cpp
- Timestamp:
- Nov 6, 2005, 11:39:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/jwindow.cpp
r2 r4 176 176 if (red) 177 177 { 178 jwindow *j=ev.window ,*p;178 jwindow *j=ev.window; 179 179 /* screen->add_dirty(j->x,j->y,j->x+j->l-1,j->y+j->h-1); 180 180 for (p=first;p!=j;p=p->next) … … 283 283 jwindow *p,*q; 284 284 285 int mx ,my,but;286 image *mouse_pic ,*mouse_save;285 int mx=0,my=0; 286 image *mouse_pic=NULL,*mouse_save=NULL; 287 287 288 288 if (has_mouse()) … … 427 427 ifield *input_manager::unlink(int id) // unlinks ID from fields list and return the pointer to it 428 428 { 429 for (ifield *i=first,*last ;i;i=i->next)429 for (ifield *i=first,*last=NULL;i;i=i->next) 430 430 { 431 431 if (i->id==id)
Note: See TracChangeset
for help on using the changeset viewer.