summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/src/mimcmd_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine/src/mimcmd_data.cpp')
-rw-r--r--plugins/CmdLine/src/mimcmd_data.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/CmdLine/src/mimcmd_data.cpp b/plugins/CmdLine/src/mimcmd_data.cpp
index affcdfbd9e..6165c32a01 100644
--- a/plugins/CmdLine/src/mimcmd_data.cpp
+++ b/plugins/CmdLine/src/mimcmd_data.cpp
@@ -22,26 +22,26 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
TCommand mimCommands[] =
{
- { MIMCMD_STATUS, "status", MIMCMD_HELP_STATUS },
- { MIMCMD_AWAYMSG, "awaymsg", MIMCMD_HELP_AWAYMSG },
- { MIMCMD_XSTATUS, "xstatus", MIMCMD_HELP_XSTATUS },
- { MIMCMD_POPUPS, "popups", MIMCMD_HELP_POPUPS },
- { MIMCMD_SOUNDS, "sounds", MIMCMD_HELP_SOUNDS },
- { MIMCMD_CLIST, "clist", MIMCMD_HELP_CLIST },
- { MIMCMD_QUIT, "quit", MIMCMD_HELP_QUIT },
- { MIMCMD_HELP, "help", MIMCMD_HELP_HELP },
- { MIMCMD_EXCHANGE, "exchange", MIMCMD_HELP_EXCHANGE },
- { MIMCMD_YAMN, "yamn", MIMCMD_HELP_YAMN },
- { MIMCMD_CALLSERVICE, "callservice", MIMCMD_HELP_CALLSERVICE },
- { MIMCMD_MESSAGE, "message", MIMCMD_HELP_MESSAGE },
- { MIMCMD_DATABASE, "db", MIMCMD_HELP_DATABASE },
- { MIMCMD_PROXY, "proxy", MIMCMD_HELP_PROXY },
- { MIMCMD_CONTACTS, "contacts", MIMCMD_HELP_CONTACTS },
- { MIMCMD_HISTORY, "history", MIMCMD_HELP_HISTORY },
- { MIMCMD_VERSION, "version", MIMCMD_HELP_VERSION },
- { MIMCMD_SETNICKNAME, "setnickname", MIMCMD_HELP_SETNICKNAME },
- { MIMCMD_IGNORE, "ignore", MIMCMD_HELP_IGNORE },
- { MIMCMD_LUA, "lua", MIMCMD_HELP_LUA },
+ { MIMCMD_STATUS, L"status", MIMCMD_HELP_STATUS },
+ { MIMCMD_AWAYMSG, L"awaymsg", MIMCMD_HELP_AWAYMSG },
+ { MIMCMD_XSTATUS, L"xstatus", MIMCMD_HELP_XSTATUS },
+ { MIMCMD_POPUPS, L"popups", MIMCMD_HELP_POPUPS },
+ { MIMCMD_SOUNDS, L"sounds", MIMCMD_HELP_SOUNDS },
+ { MIMCMD_CLIST, L"clist", MIMCMD_HELP_CLIST },
+ { MIMCMD_QUIT, L"quit", MIMCMD_HELP_QUIT },
+ { MIMCMD_HELP, L"help", MIMCMD_HELP_HELP },
+ { MIMCMD_EXCHANGE, L"exchange", MIMCMD_HELP_EXCHANGE },
+ { MIMCMD_YAMN, L"yamn", MIMCMD_HELP_YAMN },
+ { MIMCMD_CALLSERVICE, L"callservice", MIMCMD_HELP_CALLSERVICE },
+ { MIMCMD_MESSAGE, L"message", MIMCMD_HELP_MESSAGE },
+ { MIMCMD_DATABASE, L"db", MIMCMD_HELP_DATABASE },
+ { MIMCMD_PROXY, L"proxy", MIMCMD_HELP_PROXY },
+ { MIMCMD_CONTACTS, L"contacts", MIMCMD_HELP_CONTACTS },
+ { MIMCMD_HISTORY, L"history", MIMCMD_HELP_HISTORY },
+ { MIMCMD_VERSION, L"version", MIMCMD_HELP_VERSION },
+ { MIMCMD_SETNICKNAME, L"setnickname", MIMCMD_HELP_SETNICKNAME },
+ { MIMCMD_IGNORE, L"ignore", MIMCMD_HELP_IGNORE },
+ { MIMCMD_LUA, L"lua", MIMCMD_HELP_LUA },
};
-int cMimCommands = sizeof(mimCommands) / sizeof(mimCommands[0]); \ No newline at end of file
+int cMimCommands = _countof(mimCommands); \ No newline at end of file