Index: abuse-sdl-0.7.0/src/imlib/keys.cpp =================================================================== --- abuse-sdl-0.7.0.orig/src/imlib/keys.cpp 2002-12-15 06:00:32.000000000 +0100 +++ abuse-sdl-0.7.0/src/imlib/keys.cpp 2006-06-21 15:02:34.000000000 +0200 @@ -11,7 +11,7 @@ void key_name(int key, char *buffer) { - static char sing[2]; + //static char sing[2]; if( key > 255 && key <= JK_MAX_KEY ) strcpy(buffer,jk_key_names[key-256]); else if( key == JK_BACKSPACE ) Index: abuse-sdl-0.7.0/src/imlib/jwindow.cpp =================================================================== --- abuse-sdl-0.7.0.orig/src/imlib/jwindow.cpp 2002-12-15 06:00:32.000000000 +0100 +++ abuse-sdl-0.7.0/src/imlib/jwindow.cpp 2006-06-21 15:02:34.000000000 +0200 @@ -175,7 +175,7 @@ ev.window->next=NULL; if (red) { - jwindow *j=ev.window,*p; + jwindow *j=ev.window; /* screen->add_dirty(j->x,j->y,j->x+j->l-1,j->y+j->h-1); for (p=first;p!=j;p=p->next) p->screen->add_dirty(j->x-p->x,j->y-p->y,j->x+j->l-1-p->x,j->y+j->h-1-p->y);*/ @@ -282,8 +282,8 @@ { jwindow *p,*q; - int mx,my,but; - image *mouse_pic,*mouse_save; + int mx=0,my=0; + image *mouse_pic=NULL,*mouse_save=NULL; if (has_mouse()) { @@ -426,7 +426,7 @@ ifield *input_manager::unlink(int id) // unlinks ID from fields list and return the pointer to it { - for (ifield *i=first,*last;i;i=i->next) + for (ifield *i=first,*last=NULL;i;i=i->next) { if (i->id==id) {