From c9262e5666ef0f92447119e525580aaac873d833 Mon Sep 17 00:00:00 2001 From: wipedlife Date: Mon, 11 Jun 2018 23:59:30 +0700 Subject: [PATCH] regex --- vanitygen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanitygen.cpp b/vanitygen.cpp index f066750..330a4f3 100644 --- a/vanitygen.cpp +++ b/vanitygen.cpp @@ -288,7 +288,7 @@ int main (int argc, char * argv[]) usaging(); return 0; } - parsing(argc-1, argv+1); + parsing( argc > 2 ? argc-1 : argc, argc > 2 ? argv+1 : argv); // if(!options.reg && !check_prefix( argv[1] )) {