wprintf("</A></FONT><br />");
}
wprintf("<FONT SIZE=-1>"
- "<a href=\"display_editfloorpic&"
+ "<a href=\"display_editfloorpic?"
"which_floor=%d\">", floornum);
wprintf(_("(edit graphic)"));
wprintf("</A></TD></TR></TABLE>");
StrBufTCP_read_line(Buf, &WC->serv_sock, 0, &Err);
- if (ChrPtr(Buf)[0] == '2') {
+ if (GetServerStatus(Buf, NULL) == 2) {
StrBufPlain(Buf, _("Floor has been deleted."),-1);
}
else {
serv_printf("CFLR %s|1", bstr("floorname"));
StrBufTCP_read_line(Buf, &WC->serv_sock, 0, &Err);
- if (ChrPtr(Buf)[0] == '2') {
+ if (GetServerStatus(Buf, NULL) == 2) {
StrBufPlain(Buf, _("New floor has been created."),-1);
}
else {