argv[0] is binary name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39170 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
53612087c4
commit
20bf353a79
@ -62,7 +62,7 @@ PrintersApp::MessageReceived(BMessage* msg)
|
||||
void
|
||||
PrintersApp::ArgvReceived(int32 argc, char** argv)
|
||||
{
|
||||
for (int i; i < argc; i++) {
|
||||
for (int i = 1; i < argc; i++) {
|
||||
// TODO: show a pre-filled add printer dialog here
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user