Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: Title, FINAL patch version
- To: crossfire (at) ifi.uio.no
- Subject: CF: Title, FINAL patch version
- From: "Brian Thomas" <>
- Date: Fri, 16 Aug 96 09:01:10 EDT
- Sender: owner-crossfire
Argh. What a morning. Heres the final WORKing version of that
so simple patch. -b.t.
*** ../../tarfiles/crossfire-0.92.5/server/login.c Wed Jul 24 03:45:50 1996
--- ./login.c Fri Aug 16 08:56:51 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,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 (!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,