{"action":"created","comment":{"url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/comments/87704994","pull_request_review_id":8308749,"id":87704994,"diff_hunk":"@@ -98,6 +99,9 @@ static void CanonicalizeButtons(void)\n     int vbutton;\n     int i;\n \n+    static_assert(arrlen(all_joystick_buttons) == NUM_VIRTUAL_BUTTONS,","path":"src/setup/txt_joybinput.c","position":12,"original_position":12,"commit_id":"dda082ac16b9a5409795d71b93649d0d5b8ecda0","original_commit_id":"dda082ac16b9a5409795d71b93649d0d5b8ecda0","user":{"login":"AXDOOMER","id":6194072,"avatar_url":"https://avatars.githubusercontent.com/u/6194072?v=3","gravatar_id":"","url":"https://api.github.com/users/AXDOOMER","html_url":"https://github.com/AXDOOMER","followers_url":"https://api.github.com/users/AXDOOMER/followers","following_url":"https://api.github.com/users/AXDOOMER/following{/other_user}","gists_url":"https://api.github.com/users/AXDOOMER/gists{/gist_id}","starred_url":"https://api.github.com/users/AXDOOMER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AXDOOMER/subscriptions","organizations_url":"https://api.github.com/users/AXDOOMER/orgs","repos_url":"https://api.github.com/users/AXDOOMER/repos","events_url":"https://api.github.com/users/AXDOOMER/events{/privacy}","received_events_url":"https://api.github.com/users/AXDOOMER/received_events","type":"User","site_admin":false},"body":"Next time someone forgets to increase NUM_VIRTUAL_BUTTONS, it will print a warning while chocolate-setup will be compiling. I'll submit the changes soon. \r\n```\r\ntxt_joybinput.c:59:5: warning: excess elements in array initializer\r\n     &joybmenu,\r\n     ^\r\ntxt_joybinput.c:59:5: note: (near initialization for ‘all_joystick_buttons’)\r\ntxt_joybinput.c:60:5: warning: excess elements in array initializer\r\n     &joybautomap,\r\n     ^\r\ntxt_joybinput.c:60:5: note: (near initialization for ‘all_joystick_buttons’)\r\n```\r\n","created_at":"2016-11-13T03:45:15Z","updated_at":"2016-11-13T03:45:16Z","html_url":"https://github.com/chocolate-doom/chocolate-doom/pull/805#discussion_r87704994","pull_request_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805","_links":{"self":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/comments/87704994"},"html":{"href":"https://github.com/chocolate-doom/chocolate-doom/pull/805#discussion_r87704994"},"pull_request":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805"}}},"pull_request":{"url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805","id":93422803,"html_url":"https://github.com/chocolate-doom/chocolate-doom/pull/805","diff_url":"https://github.com/chocolate-doom/chocolate-doom/pull/805.diff","patch_url":"https://github.com/chocolate-doom/chocolate-doom/pull/805.patch","issue_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/805","number":805,"state":"open","locked":false,"title":"Fix number of joystick buttons so Chocolate-Setup doesn't crash","user":{"login":"AXDOOMER","id":6194072,"avatar_url":"https://avatars.githubusercontent.com/u/6194072?v=3","gravatar_id":"","url":"https://api.github.com/users/AXDOOMER","html_url":"https://github.com/AXDOOMER","followers_url":"https://api.github.com/users/AXDOOMER/followers","following_url":"https://api.github.com/users/AXDOOMER/following{/other_user}","gists_url":"https://api.github.com/users/AXDOOMER/gists{/gist_id}","starred_url":"https://api.github.com/users/AXDOOMER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AXDOOMER/subscriptions","organizations_url":"https://api.github.com/users/AXDOOMER/orgs","repos_url":"https://api.github.com/users/AXDOOMER/repos","events_url":"https://api.github.com/users/AXDOOMER/events{/privacy}","received_events_url":"https://api.github.com/users/AXDOOMER/received_events","type":"User","site_admin":false},"body":"This fixes https://github.com/chocolate-doom/chocolate-doom/issues/799","created_at":"2016-11-12T01:36:31Z","updated_at":"2016-11-13T03:45:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"962b6d1f97c1ad49e4a8eb4c6cc5a9c7238a50b0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805/commits","review_comments_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805/comments","review_comment_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/805/comments","statuses_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/statuses/dda082ac16b9a5409795d71b93649d0d5b8ecda0","head":{"label":"AXDOOMER:master","ref":"master","sha":"dda082ac16b9a5409795d71b93649d0d5b8ecda0","user":{"login":"AXDOOMER","id":6194072,"avatar_url":"https://avatars.githubusercontent.com/u/6194072?v=3","gravatar_id":"","url":"https://api.github.com/users/AXDOOMER","html_url":"https://github.com/AXDOOMER","followers_url":"https://api.github.com/users/AXDOOMER/followers","following_url":"https://api.github.com/users/AXDOOMER/following{/other_user}","gists_url":"https://api.github.com/users/AXDOOMER/gists{/gist_id}","starred_url":"https://api.github.com/users/AXDOOMER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AXDOOMER/subscriptions","organizations_url":"https://api.github.com/users/AXDOOMER/orgs","repos_url":"https://api.github.com/users/AXDOOMER/repos","events_url":"https://api.github.com/users/AXDOOMER/events{/privacy}","received_events_url":"https://api.github.com/users/AXDOOMER/received_events","type":"User","site_admin":false},"repo":{"id":73523515,"name":"chocolate-doom","full_name":"AXDOOMER/chocolate-doom","owner":{"login":"AXDOOMER","id":6194072,"avatar_url":"https://avatars.githubusercontent.com/u/6194072?v=3","gravatar_id":"","url":"https://api.github.com/users/AXDOOMER","html_url":"https://github.com/AXDOOMER","followers_url":"https://api.github.com/users/AXDOOMER/followers","following_url":"https://api.github.com/users/AXDOOMER/following{/other_user}","gists_url":"https://api.github.com/users/AXDOOMER/gists{/gist_id}","starred_url":"https://api.github.com/users/AXDOOMER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AXDOOMER/subscriptions","organizations_url":"https://api.github.com/users/AXDOOMER/orgs","repos_url":"https://api.github.com/users/AXDOOMER/repos","events_url":"https://api.github.com/users/AXDOOMER/events{/privacy}","received_events_url":"https://api.github.com/users/AXDOOMER/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AXDOOMER/chocolate-doom","description":"Chocolate Doom is a Doom source port that is conservative and historically accurate.","fork":true,"url":"https://api.github.com/repos/AXDOOMER/chocolate-doom","forks_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/forks","keys_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/teams","hooks_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/hooks","issue_events_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/issues/events{/number}","events_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/events","assignees_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/assignees{/user}","branches_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/branches{/branch}","tags_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/tags","blobs_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/git/refs{/sha}","trees_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/statuses/{sha}","languages_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/languages","stargazers_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/stargazers","contributors_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/contributors","subscribers_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/subscribers","subscription_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/subscription","commits_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/commits{/sha}","git_commits_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/git/commits{/sha}","comments_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/comments{/number}","issue_comment_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/issues/comments{/number}","contents_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/contents/{+path}","compare_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/merges","archive_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/downloads","issues_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/issues{/number}","pulls_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/pulls{/number}","milestones_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/milestones{/number}","notifications_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/labels{/name}","releases_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/releases{/id}","deployments_url":"https://api.github.com/repos/AXDOOMER/chocolate-doom/deployments","created_at":"2016-11-12T01:11:46Z","updated_at":"2016-11-12T01:11:50Z","pushed_at":"2016-11-12T07:48:15Z","git_url":"git://github.com/AXDOOMER/chocolate-doom.git","ssh_url":"git@github.com:AXDOOMER/chocolate-doom.git","clone_url":"https://github.com/AXDOOMER/chocolate-doom.git","svn_url":"https://github.com/AXDOOMER/chocolate-doom","homepage":"https://www.chocolate-doom.org/","size":13399,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chocolate-doom:master","ref":"master","sha":"226a67f8bf8cb6de3b9f8cf81cd9c674ffbb5347","user":{"login":"chocolate-doom","id":6140118,"avatar_url":"https://avatars.githubusercontent.com/u/6140118?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolate-doom","html_url":"https://github.com/chocolate-doom","followers_url":"https://api.github.com/users/chocolate-doom/followers","following_url":"https://api.github.com/users/chocolate-doom/following{/other_user}","gists_url":"https://api.github.com/users/chocolate-doom/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolate-doom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolate-doom/subscriptions","organizations_url":"https://api.github.com/users/chocolate-doom/orgs","repos_url":"https://api.github.com/users/chocolate-doom/repos","events_url":"https://api.github.com/users/chocolate-doom/events{/privacy}","received_events_url":"https://api.github.com/users/chocolate-doom/received_events","type":"Organization","site_admin":false},"repo":{"id":230912,"name":"chocolate-doom","full_name":"chocolate-doom/chocolate-doom","owner":{"login":"chocolate-doom","id":6140118,"avatar_url":"https://avatars.githubusercontent.com/u/6140118?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolate-doom","html_url":"https://github.com/chocolate-doom","followers_url":"https://api.github.com/users/chocolate-doom/followers","following_url":"https://api.github.com/users/chocolate-doom/following{/other_user}","gists_url":"https://api.github.com/users/chocolate-doom/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolate-doom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolate-doom/subscriptions","organizations_url":"https://api.github.com/users/chocolate-doom/orgs","repos_url":"https://api.github.com/users/chocolate-doom/repos","events_url":"https://api.github.com/users/chocolate-doom/events{/privacy}","received_events_url":"https://api.github.com/users/chocolate-doom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chocolate-doom/chocolate-doom","description":"Chocolate Doom is a Doom source port that is conservative and historically accurate.","fork":false,"url":"https://api.github.com/repos/chocolate-doom/chocolate-doom","forks_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/forks","keys_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/teams","hooks_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/hooks","issue_events_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/events{/number}","events_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/events","assignees_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/assignees{/user}","branches_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/branches{/branch}","tags_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/tags","blobs_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/git/refs{/sha}","trees_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/statuses/{sha}","languages_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/languages","stargazers_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/stargazers","contributors_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/contributors","subscribers_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/subscribers","subscription_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/subscription","commits_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/commits{/sha}","git_commits_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/git/commits{/sha}","comments_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/comments{/number}","issue_comment_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/comments{/number}","contents_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/contents/{+path}","compare_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/merges","archive_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/downloads","issues_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues{/number}","pulls_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls{/number}","milestones_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/milestones{/number}","notifications_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/labels{/name}","releases_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/releases{/id}","deployments_url":"https://api.github.com/repos/chocolate-doom/chocolate-doom/deployments","created_at":"2009-06-18T22:15:53Z","updated_at":"2016-11-10T19:41:04Z","pushed_at":"2016-11-12T07:48:16Z","git_url":"git://github.com/chocolate-doom/chocolate-doom.git","ssh_url":"git@github.com:chocolate-doom/chocolate-doom.git","clone_url":"https://github.com/chocolate-doom/chocolate-doom.git","svn_url":"https://github.com/chocolate-doom/chocolate-doom","homepage":"https://www.chocolate-doom.org/","size":20684,"stargazers_count":235,"watchers_count":235,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":174,"forks":94,"open_issues":174,"watchers":235,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805"},"html":{"href":"https://github.com/chocolate-doom/chocolate-doom/pull/805"},"issue":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/805"},"comments":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/issues/805/comments"},"review_comments":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805/comments"},"review_comment":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/pulls/805/commits"},"statuses":{"href":"https://api.github.com/repos/chocolate-doom/chocolate-doom/statuses/dda082ac16b9a5409795d71b93649d0d5b8ecda0"}}}}
{"actor":{"display_login":"AXDOOMER"}}