diff --git a/src/misc.c b/src/misc.c index 290b29c4e..210e4d296 100644 --- a/src/misc.c +++ b/src/misc.c @@ -657,6 +657,7 @@ int register_extension() char *currentfilename = exe_name(); char *iconname = NULL; char *opencommand = NULL; + char *protocolcommand = NULL; //char AppDataPath[MAX_PATH]; char *AppDataPath = NULL; iconname = malloc(strlen(currentfilename)+6); @@ -675,6 +676,7 @@ int register_extension() //TODO: Implement opencommand = malloc(strlen(currentfilename)+53+strlen(AppDataPath)); + protocolcommand = malloc(strlen(currentfilename)+55+strlen(AppDataPath)); /*if((strlen(AppDataPath)+strlen(APPDATA_SUBDIR "\\Powder Toy"))