diff options
| author | Matt Corallo <[email protected]> | 2011-12-23 20:27:12 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2012-01-05 00:29:28 -0500 |
| commit | 7d145a0f591dab109eae9adcfaf59303cce0431a (patch) | |
| tree | 95fbe9a79ca7c5ebf393a7121530c903e37dec38 /src/init.cpp | |
| parent | Automatically refocus on new SendCoinsEntrys and scroll to them. (diff) | |
| download | discoin-7d145a0f591dab109eae9adcfaf59303cce0431a.tar.xz discoin-7d145a0f591dab109eae9adcfaf59303cce0431a.zip | |
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 8cbf21cc4..05ba79538 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) |