回精華區
作者itoc, 信區: itoc
標題[修正] menu.c 把 menu 的 () 改為 []
時間03/08/24
作者: itoc (寫不完了 ^^) 看板: plan
標題: [修正] 把 menu 的 () 改為 []
時間: Sun Aug 24 09:30:28 2003                          Updated: 2003/08/24

    把 (A)nnounce  ξ 精華佈告欄 ξ
  改為 [A]nnounce  ξ 精華佈告欄 ξ

: menu.c:menu()

        if (mode <= max)
        {
          mptr = table[mode];
          str = mptr->desc;
-         prints("(\033[1;36m%c\033[m)", *str++);
+         prints("[\033[1;36m%c\033[m]", *str++);
          outs(str);
        }

  ...
  ...

        if (cx <= max)
        {
          mptr = table[cx];
          str = mptr->desc;
-         prints("  (\033[1;36m%c\033[m)", *str++);
+         prints("  [\033[1;36m%c\033[m]", *str++);
          prints("%s ", str);
        }

  ...
  ...

      move(MENU_XPOS + cc, MENU_YPOS);
      mptr = table[cc];
      str = mptr->desc;
-     prints(COLOR4 "> (%c)", *str++);
+     prints(COLOR4 "> [%c]", *str++);
      prints("%s \033[m", str);

  ...
  ...

      move(MENU_XPOS + cc, MENU_YPOS);
      mptr = table[cc];
      str = mptr->desc;
-     prints(COLOR4 "> (%c)", *str++);
+     prints(COLOR4 "> [%c]", *str++);
      prints("%s \033[m", str);

--
□ 本文章由 itocitoc.Dorm11.NCTU.edu.tw 發表
精華選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻