diff --git a/iguana/SuperNET_category.c b/iguana/SuperNET_category.c index abb6eb7fe..f05ec95e6 100644 --- a/iguana/SuperNET_category.c +++ b/iguana/SuperNET_category.c @@ -32,7 +32,7 @@ bits256 calc_categoryhashes(bits256 *subhashp,char *category,char *subcategory) struct category_info *category_find(bits256 categoryhash,bits256 subhash) { - char str[65]; struct category_info *cat=0,*sub = 0; + struct category_info *cat=0,*sub = 0; HASH_FIND(hh,Categories,categoryhash.bytes,sizeof(categoryhash),cat); if ( cat != 0 ) { diff --git a/iguana/iguana_bitmap.c b/iguana/iguana_bitmap.c index aca951509..b18f3f932 100755 --- a/iguana/iguana_bitmap.c +++ b/iguana/iguana_bitmap.c @@ -1195,7 +1195,7 @@ STRING_AND_TWOINTS(mouse,image,name,x,y) STRING_ARG(mouse,close,name) { - printf("mouse CLOSE (%s) x.%d y.%d\n",name); + printf("mouse CLOSE (%s)\n",name); return(clonestr("{\"result\":\"closed\"}")); } #include "../includes/iguana_apiundefs.h" diff --git a/includes/iguana_apideclares.h b/includes/iguana_apideclares.h index 22054394f..6fea93965 100755 --- a/includes/iguana_apideclares.h +++ b/includes/iguana_apideclares.h @@ -53,6 +53,7 @@ STRING_AND_TWOINTS(mouse,change,name,x,y); STRING_AND_TWOINTS(mouse,click,name,x,y); STRING_ARG(mouse,close,name); STRING_ARG(mouse,leave,name); +STRING_AND_INT(keyboard,key,name,c); STRING_ARG(SuperNET,getpeers,activecoin); TWO_ARRAYS(SuperNET,mypeers,supernet,rawpeers);