diff options
author | Matt Corallo <matt@bluematt.me> | 2011-12-23 20:27:12 -0800 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2012-01-05 00:29:28 -0500 |
commit | 7d145a0f591dab109eae9adcfaf59303cce0431a (patch) | |
tree | 95fbe9a79ca7c5ebf393a7121530c903e37dec38 /src/init.cpp | |
parent | 9a93c4c02471fea7acb4882efaebaaefc1733466 (diff) |
Add support for opening bitcoin: URIs directly.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 8cbf21cc4b..05ba795381 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -272,7 +272,7 @@ bool AppInit2(int argc, char* argv[]) #ifndef QT_GUI for (int i = 1; i < argc; i++) - if (!IsSwitchChar(argv[i][0])) + if (!IsSwitchChar(argv[i][0]) && !(strlen(argv[i]) > 7 && strncasecmp(argv[i], "bitcoin:", 8) == 0)) fCommandLine = true; if (fCommandLine) |