作者itoc.bbs@xeon.tfcis.org (看了題目就知道該放棄) 看板: plan
標題Re: [問題] 匿名板的問題
時間動力核心 (Tue, 19 Aug 2003 09:54:52 +0800 (CST)) Updated: 2003/08/19
※ 引述《gokui (gokui)》之銘言:
> 所以想請問一下,要怎麼把匿名預設值改成使用真名
- if (!vget(b_lines, 0, "請輸入你想用的ID,也可直接按[Enter]"
- ",或是按[r]用真名:", anonymousid, IDLEN, DOECHO))
- { /* 留 1 byte 加 "." */
- strcpy(anonymousid, STR_ANONYMOUS);
- curredit |= EDIT_ANONYMOUS;
- }
- else if (strcmp(anonymousid, "r"))
- {
- strcat(anonymousid, "."); /* 若是自定ID,要在後面加個 . 表示不同 */
- curredit |= EDIT_ANONYMOUS;
- }
+ if (vget(b_lines, 0, "請輸入你想用的ID,也可直接按[Enter]使用真名:",
+ anonymousid, IDLEN, DOECHO)) /* 留 1 byte 加 "." */
+ {
+ strcat(anonymousid, "."); /* 若是自定ID,要在後面加個 . 表示不同 */
+ curredit |= EDIT_ANONYMOUS;
+ }
--
=[﹎:�摃�◣��:﹎ Origin ]|[ �吨O�痐� processor.tfcis.org ]|[�搟說�﹎:]=
=[﹊:�摃�╱��:﹊ Author ]|[ itoc.dorm11.nctu.edu.tw ]|[���插�﹊:]=