Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
ITHVNR_kor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
mireado
2015-04-02 23:38:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b21c882e1f15c3f4cf5312661c5f2ae94ff9c6b4
b21c882e
1 parent
14f8c5a2
korean translation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
gui/command.cpp
gui/command.cpp
View file @
b21c882
...
...
@@ -191,24 +191,24 @@ DWORD ProcessCommand(const std::wstring& cmd, DWORD pid)
if
(
Parse
(
m
[
1
].
str
(),
hp
))
IHF_InsertHook
(
pid
,
&
hp
);
}
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
:l([[:xdigit:]]+)-
([[:xdigit:]]+)"
,
wregex
::
icase
)))
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
(?::|)(?:ㅇ|연|l|)([[:xdigit:]]+)(?:-| )
([[:xdigit:]]+)"
,
wregex
::
icase
)))
{
DWORD
from
=
std
::
stoul
(
m
[
1
].
str
(),
NULL
,
16
);
DWORD
to
=
std
::
stoul
(
m
[
2
].
str
(),
NULL
,
16
);
IHF_AddLink
(
from
,
to
);
}
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
:u
([[:xdigit:]]+)"
,
wregex
::
icase
)))
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
(?::|)(?:ㅎ|해|해제|u)
([[:xdigit:]]+)"
,
wregex
::
icase
)))
{
DWORD
from
=
std
::
stoul
(
m
[
1
].
str
(),
NULL
,
16
);
IHF_UnLink
(
from
);
}
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
:(?:
h|help)"
,
wregex
::
icase
)))
else
if
(
regex_match
(
cmd
,
m
,
wregex
(
L"
(?::|)(?:ㄷ|도|도움|도움말|
h|help)"
,
wregex
::
icase
)))
{
ConsoleOutput
(
Usage
);
}
else
{
ConsoleOutput
(
L"
Unknown command. Type :h or :help for help
."
);
ConsoleOutput
(
L"
알 수 없는 명령어. 도움말을 보시려면, :h 나 :help를 입력하세요
."
);
}
return
0
;
}
...
...
Please
register
or
login
to post a comment