aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2011-12-23 20:27:12 -0800
committerMatt Corallo <[email protected]>2012-01-05 00:29:28 -0500
commit7d145a0f591dab109eae9adcfaf59303cce0431a (patch)
tree95fbe9a79ca7c5ebf393a7121530c903e37dec38 /src/init.cpp
parentAutomatically refocus on new SendCoinsEntrys and scroll to them. (diff)
downloaddiscoin-7d145a0f591dab109eae9adcfaf59303cce0431a.tar.xz
discoin-7d145a0f591dab109eae9adcfaf59303cce0431a.zip
Add support for opening bitcoin: URIs directly.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
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)