diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 525de7768..f46222bd6 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -157,6 +157,7 @@ bool Client::DoInstallation() char *currentfilename = exe_name(); char *iconname = NULL; char *opencommand = NULL; + char *protocolcommand = NULL; //char AppDataPath[MAX_PATH]; char *AppDataPath = NULL; iconname = (char*)malloc(strlen(currentfilename)+6); @@ -175,6 +176,7 @@ bool Client::DoInstallation() //TODO: Implement opencommand = (char*)malloc(strlen(currentfilename)+53+strlen(AppDataPath)); + protocolcommand = (char*)malloc(strlen(currentfilename)+53+strlen(AppDataPath)); /*if((strlen(AppDataPath)+strlen(APPDATA_SUBDIR "\\Powder Toy"))