Skip to content

Commit

Permalink
style: pointer style
Browse files Browse the repository at this point in the history
Signed-off-by: imkiva <[email protected]>
  • Loading branch information
imkiva committed May 29, 2018
1 parent e64fd87 commit 6e36c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/java.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ int main(int argc, const char **argv) {
std::vector<String> arguments;
// skip argv[0] and main class name
argv += 2;
while (argv[0]) {
arguments.push_back(strings::fromStdString(argv[0]));
++argv;
while (*argv) {
arguments.push_back(strings::fromStdString(*argv++));
}

JavaMainThread javaMainThread(mainClassName, arguments);
javaMainThread.create(nullptr);

Expand Down

0 comments on commit 6e36c8c

Please sign in to comment.