Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: TITLE patch, take II




	I see that fewer changes are needed than I thought.
	Please use the following patch instead. -b.t.
*** login.c	Wed Jul 24 03:45:50 1996
--- ../../../crossfire/server/login.c	Fri Aug 16 08:12:58 1996
***************
*** 533,544 ****
        while (fgets(bufall,MAX_BUF,fp)!=NULL) {
          sscanf(bufall,"%s %d\n",buf,&value);
          if (!strcmp(buf,"endplst"))
            break;
  #ifdef SET_TITLE
! 	else if (!strncmp(bufall,"title",6))
            sscanf(bufall,"title %s[^\n]",pl->own_title);
  #endif /* SET_TITLE */
  #ifdef SAVE_WINDOW_POSITIONS
  	else if (!strcmp(buf,"win_pos") && pl->split_window) {
  	  pl->valid_save_positions=
  	    (sscanf(bufall,
--- 533,545 ----
        while (fgets(bufall,MAX_BUF,fp)!=NULL) {
          sscanf(bufall,"%s %d\n",buf,&value);
          if (!strcmp(buf,"endplst"))
            break;
  #ifdef SET_TITLE
! 	else if (!strcmp(buf,"title"))
            sscanf(bufall,"title %s[^\n]",pl->own_title);
  #endif /* SET_TITLE */
  #ifdef SAVE_WINDOW_POSITIONS
  	else if (!strcmp(buf,"win_pos") && pl->split_window) {
  	  pl->valid_save_positions=
  	    (sscanf(bufall,