mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:23:21 +00:00
parent
62595d39a6
commit
29c9e92c9e
1 changed files with 2 additions and 1 deletions
|
@ -637,6 +637,7 @@ main(int argc, const char **argv)
|
||||||
char PathBuffer[LINESIZE + 1];
|
char PathBuffer[LINESIZE + 1];
|
||||||
char LineOutBuffer[LINESIZE + 1];
|
char LineOutBuffer[LINESIZE + 1];
|
||||||
|
|
||||||
|
// TODO: Re-use one translate_files(), instead of repeated translate_line().
|
||||||
while (i < argc)
|
while (i < argc)
|
||||||
{
|
{
|
||||||
offset = argv[optCount + i++];
|
offset = argv[optCount + i++];
|
||||||
|
@ -646,7 +647,7 @@ main(int argc, const char **argv)
|
||||||
{
|
{
|
||||||
l2l_dbg(2, "translating %s %s\n", exefile, offset);
|
l2l_dbg(2, "translating %s %s\n", exefile, offset);
|
||||||
|
|
||||||
sprintf(Line, "<%s:%s>\n", exefile, offset);
|
snprintf(Line, LINESIZE, "<%s:%s>\n", exefile, offset);
|
||||||
translate_line(conOut, Line, PathBuffer, LineOutBuffer);
|
translate_line(conOut, Line, PathBuffer, LineOutBuffer);
|
||||||
report(conOut);
|
report(conOut);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue