{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/comments/48110330","id":48110330,"diff_hunk":"@@ -252,7 +252,8 @@ int nmea_move_horz(\n \n   if ( NMEA_POSIX( isnan )( end_pos->lat ) || NMEA_POSIX( isnan )( end_pos->lon ) )\n   {\n-    end_pos->lat = 0; end_pos->lon = 0;\n+    end_pos->lat = 0;\n+    end_pos->lon = 0;","path":"src/core/gps/gmath.c","position":6,"original_position":6,"commit_id":"33432bb9eb8873e1906b867b7bd3bffaac9003dc","original_commit_id":"33432bb9eb8873e1906b867b7bd3bffaac9003dc","user":{"login":"SebDieBln","id":15147421,"avatar_url":"https://avatars.githubusercontent.com/u/15147421?v=3","gravatar_id":"","url":"https://api.github.com/users/SebDieBln","html_url":"https://github.com/SebDieBln","followers_url":"https://api.github.com/users/SebDieBln/followers","following_url":"https://api.github.com/users/SebDieBln/following{/other_user}","gists_url":"https://api.github.com/users/SebDieBln/gists{/gist_id}","starred_url":"https://api.github.com/users/SebDieBln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebDieBln/subscriptions","organizations_url":"https://api.github.com/users/SebDieBln/orgs","repos_url":"https://api.github.com/users/SebDieBln/repos","events_url":"https://api.github.com/users/SebDieBln/events{/privacy}","received_events_url":"https://api.github.com/users/SebDieBln/received_events","type":"User","site_admin":false},"body":"Not sure whether this should be fixed. Is this code coming from some external library?","created_at":"2015-12-20T23:47:29Z","updated_at":"2015-12-20T23:47:29Z","html_url":"https://github.com/qgis/QGIS/pull/2598#discussion_r48110330","pull_request_url":"https://api.github.com/repos/qgis/QGIS/pulls/2598","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments/48110330"},"html":{"href":"https://github.com/qgis/QGIS/pull/2598#discussion_r48110330"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2598"}}},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/2598","id":54211177,"html_url":"https://github.com/qgis/QGIS/pull/2598","diff_url":"https://github.com/qgis/QGIS/pull/2598.diff","patch_url":"https://github.com/qgis/QGIS/pull/2598.patch","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/2598","number":2598,"state":"open","locked":false,"title":"Make the qgisstyle tool fix multiple statements on a single line","user":{"login":"SebDieBln","id":15147421,"avatar_url":"https://avatars.githubusercontent.com/u/15147421?v=3","gravatar_id":"","url":"https://api.github.com/users/SebDieBln","html_url":"https://github.com/SebDieBln","followers_url":"https://api.github.com/users/SebDieBln/followers","following_url":"https://api.github.com/users/SebDieBln/following{/other_user}","gists_url":"https://api.github.com/users/SebDieBln/gists{/gist_id}","starred_url":"https://api.github.com/users/SebDieBln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebDieBln/subscriptions","organizations_url":"https://api.github.com/users/SebDieBln/orgs","repos_url":"https://api.github.com/users/SebDieBln/repos","events_url":"https://api.github.com/users/SebDieBln/events{/privacy}","received_events_url":"https://api.github.com/users/SebDieBln/received_events","type":"User","site_admin":false},"body":"```\r\nfoo(); bar();\r\n```\r\nbecomes\r\n```\r\nfoo();\r\nbar();\r\n```\r\n\r\n[Suggested](https://github.com/qgis/QGIS/pull/2595#discussion_r48018096) by @m-kuhn:\r\n> I think having each command on it's own line makes code much more readable and today's screens fortunately are big enough to show a couple of lines so we don't need to save vertical space ;)\r\n\r\nThis PR also contains a commit fixing all current instances of this issue.\r\n","created_at":"2015-12-20T23:41:12Z","updated_at":"2015-12-20T23:47:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1321ede5ec53de6212a3be5dc93cf57ce2f6467","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qgis/QGIS/pulls/2598/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS/pulls/2598/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/2598/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/33432bb9eb8873e1906b867b7bd3bffaac9003dc","head":{"label":"SebDieBln:NoSingleStatementLines","ref":"NoSingleStatementLines","sha":"33432bb9eb8873e1906b867b7bd3bffaac9003dc","user":{"login":"SebDieBln","id":15147421,"avatar_url":"https://avatars.githubusercontent.com/u/15147421?v=3","gravatar_id":"","url":"https://api.github.com/users/SebDieBln","html_url":"https://github.com/SebDieBln","followers_url":"https://api.github.com/users/SebDieBln/followers","following_url":"https://api.github.com/users/SebDieBln/following{/other_user}","gists_url":"https://api.github.com/users/SebDieBln/gists{/gist_id}","starred_url":"https://api.github.com/users/SebDieBln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebDieBln/subscriptions","organizations_url":"https://api.github.com/users/SebDieBln/orgs","repos_url":"https://api.github.com/users/SebDieBln/repos","events_url":"https://api.github.com/users/SebDieBln/events{/privacy}","received_events_url":"https://api.github.com/users/SebDieBln/received_events","type":"User","site_admin":false},"repo":{"id":44341353,"name":"QGIS","full_name":"SebDieBln/QGIS","owner":{"login":"SebDieBln","id":15147421,"avatar_url":"https://avatars.githubusercontent.com/u/15147421?v=3","gravatar_id":"","url":"https://api.github.com/users/SebDieBln","html_url":"https://github.com/SebDieBln","followers_url":"https://api.github.com/users/SebDieBln/followers","following_url":"https://api.github.com/users/SebDieBln/following{/other_user}","gists_url":"https://api.github.com/users/SebDieBln/gists{/gist_id}","starred_url":"https://api.github.com/users/SebDieBln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebDieBln/subscriptions","organizations_url":"https://api.github.com/users/SebDieBln/orgs","repos_url":"https://api.github.com/users/SebDieBln/repos","events_url":"https://api.github.com/users/SebDieBln/events{/privacy}","received_events_url":"https://api.github.com/users/SebDieBln/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SebDieBln/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":true,"url":"https://api.github.com/repos/SebDieBln/QGIS","forks_url":"https://api.github.com/repos/SebDieBln/QGIS/forks","keys_url":"https://api.github.com/repos/SebDieBln/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SebDieBln/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SebDieBln/QGIS/teams","hooks_url":"https://api.github.com/repos/SebDieBln/QGIS/hooks","issue_events_url":"https://api.github.com/repos/SebDieBln/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/SebDieBln/QGIS/events","assignees_url":"https://api.github.com/repos/SebDieBln/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/SebDieBln/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/SebDieBln/QGIS/tags","blobs_url":"https://api.github.com/repos/SebDieBln/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SebDieBln/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SebDieBln/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/SebDieBln/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SebDieBln/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/SebDieBln/QGIS/languages","stargazers_url":"https://api.github.com/repos/SebDieBln/QGIS/stargazers","contributors_url":"https://api.github.com/repos/SebDieBln/QGIS/contributors","subscribers_url":"https://api.github.com/repos/SebDieBln/QGIS/subscribers","subscription_url":"https://api.github.com/repos/SebDieBln/QGIS/subscription","commits_url":"https://api.github.com/repos/SebDieBln/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/SebDieBln/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/SebDieBln/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/SebDieBln/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/SebDieBln/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/SebDieBln/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SebDieBln/QGIS/merges","archive_url":"https://api.github.com/repos/SebDieBln/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SebDieBln/QGIS/downloads","issues_url":"https://api.github.com/repos/SebDieBln/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/SebDieBln/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/SebDieBln/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/SebDieBln/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SebDieBln/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/SebDieBln/QGIS/releases{/id}","created_at":"2015-10-15T19:48:42Z","updated_at":"2015-10-15T19:51:29Z","pushed_at":"2015-12-20T22:57:37Z","git_url":"git://github.com/SebDieBln/QGIS.git","ssh_url":"git@github.com:SebDieBln/QGIS.git","clone_url":"https://github.com/SebDieBln/QGIS.git","svn_url":"https://github.com/SebDieBln/QGIS","homepage":"http://qgis.org","size":1167080,"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":"qgis:master","ref":"master","sha":"d31e61084fd7d403d99904978788d7152f77e3e4","user":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"repo":{"id":1690480,"name":"QGIS","full_name":"qgis/QGIS","owner":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qgis/QGIS","description":"QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)","fork":false,"url":"https://api.github.com/repos/qgis/QGIS","forks_url":"https://api.github.com/repos/qgis/QGIS/forks","keys_url":"https://api.github.com/repos/qgis/QGIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgis/QGIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgis/QGIS/teams","hooks_url":"https://api.github.com/repos/qgis/QGIS/hooks","issue_events_url":"https://api.github.com/repos/qgis/QGIS/issues/events{/number}","events_url":"https://api.github.com/repos/qgis/QGIS/events","assignees_url":"https://api.github.com/repos/qgis/QGIS/assignees{/user}","branches_url":"https://api.github.com/repos/qgis/QGIS/branches{/branch}","tags_url":"https://api.github.com/repos/qgis/QGIS/tags","blobs_url":"https://api.github.com/repos/qgis/QGIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgis/QGIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgis/QGIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgis/QGIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgis/QGIS/statuses/{sha}","languages_url":"https://api.github.com/repos/qgis/QGIS/languages","stargazers_url":"https://api.github.com/repos/qgis/QGIS/stargazers","contributors_url":"https://api.github.com/repos/qgis/QGIS/contributors","subscribers_url":"https://api.github.com/repos/qgis/QGIS/subscribers","subscription_url":"https://api.github.com/repos/qgis/QGIS/subscription","commits_url":"https://api.github.com/repos/qgis/QGIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgis/QGIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgis/QGIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgis/QGIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgis/QGIS/contents/{+path}","compare_url":"https://api.github.com/repos/qgis/QGIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgis/QGIS/merges","archive_url":"https://api.github.com/repos/qgis/QGIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgis/QGIS/downloads","issues_url":"https://api.github.com/repos/qgis/QGIS/issues{/number}","pulls_url":"https://api.github.com/repos/qgis/QGIS/pulls{/number}","milestones_url":"https://api.github.com/repos/qgis/QGIS/milestones{/number}","notifications_url":"https://api.github.com/repos/qgis/QGIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgis/QGIS/labels{/name}","releases_url":"https://api.github.com/repos/qgis/QGIS/releases{/id}","created_at":"2011-05-02T08:06:26Z","updated_at":"2015-12-19T04:53:39Z","pushed_at":"2015-12-20T23:41:12Z","git_url":"git://github.com/qgis/QGIS.git","ssh_url":"git@github.com:qgis/QGIS.git","clone_url":"https://github.com/qgis/QGIS.git","svn_url":"https://github.com/qgis/QGIS","homepage":"http://qgis.org","size":1220328,"stargazers_count":824,"watchers_count":824,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":757,"mirror_url":null,"open_issues_count":53,"forks":757,"open_issues":53,"watchers":824,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2598"},"html":{"href":"https://github.com/qgis/QGIS/pull/2598"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS/issues/2598"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS/issues/2598/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2598/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS/pulls/2598/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS/statuses/33432bb9eb8873e1906b867b7bd3bffaac9003dc"}}}}