X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Faddressbook_popup.c;h=074801f15c0124a9e04db1d65e7b65889f37a9c9;hb=f5c1330914acc193f96892efc191a32ee537dfb5;hp=13a2066e76b776b5f59b063d3404c0d492acbc8a;hpb=8e165dd308679f195af8614d62dbdb4e43238495;p=citadel.git diff --git a/webcit/addressbook_popup.c b/webcit/addressbook_popup.c index 13a2066e7..074801f15 100644 --- a/webcit/addressbook_popup.c +++ b/webcit/addressbook_popup.c @@ -1,7 +1,21 @@ /* - * $Id$ - * * AJAX-powered auto-completion + * + * Copyright (c) 2005-2010 by the citadel.org team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "webcit.h" @@ -148,7 +162,7 @@ void display_address_book_inner_div() { else { set_room_pref("defaddrbook",NewStrBufDup(sbstr("which_addr_book")), 0); - saved_roomname = NewStrBufDup(WC->wc_roomname); + saved_roomname = NewStrBufDup(WC->CurRoom.name); gotoroom(sbstr("which_addr_book")); serv_puts("DVCA"); serv_getln(buf, sizeof buf);